Method | Description | |
---|---|---|
ComputeCenter ( ) : Vector3 |
Computes the center of the shape. This can be considered its center of mass.
|
|
ComputeCenter ( float &volume ) : Vector3 |
Computes the center of the shape. This can be considered its center of mass. This calculation is often associated with the volume calculation, which is given by this method as well.
|
|
ComputeDistributionInformation ( |
Computes a variety of shape information all at once.
|
|
ComputeVolume ( ) : float |
Computes the volume of the shape.
|
|
ComputeVolumeDistribution ( ) : |
Computes the volume distribution of the shape. The volume distribution can be used to compute inertia tensors when paired with mass and other tuning factors.
|
|
ComputeVolumeDistribution ( float &volume ) : |
Computes the volume distribution of the shape as well as its volume. The volume distribution can be used to compute inertia tensors when paired with mass and other tuning factors.
|
|
GetBoundingBox ( |
Computes a bounding box for the shape given the specified transform.
|
|
GetCollidableInstance ( ) : |
Retrieves an instance of an EntityCollidable that uses this EntityShape. Mainly used by compound bodies.
|
public ComputeCenter ( float &volume ) : Vector3 | ||
volume | float | Volume of the shape. |
return | Vector3 |
public abstract ComputeDistributionInformation ( |
||
shapeInfo | Properties of the shape. | |
return | void |
public ComputeVolumeDistribution ( ) : |
||
return |
public ComputeVolumeDistribution ( float &volume ) : |
||
volume | float | Volume of the shape. |
return |
public abstract GetBoundingBox ( |
||
transform | Transform to apply to the shape to compute the bounding box. | |
boundingBox | BEPUutilities.BoundingBox | Bounding box for the shape given the transform. |
return | void |
public abstract GetCollidableInstance ( ) : |
||
return |