Метод | Описание | |
---|---|---|
ComputeMaximumRadius ( ) : float |
Computes the maximum radius of the shape. This is often larger than the actual maximum radius; it is simply an approximation that avoids underestimating.
|
|
ComputeMinimumRadius ( ) : float | ||
GetBoundingBox ( |
Gets the bounding box of the shape given a transform.
|
|
GetCollidableInstance ( ) : |
Retrieves an instance of an EntityCollidable that uses this EntityShape. Mainly used by compound bodies.
|
|
GetLocalExtremePointWithoutMargin ( System.Vector3 &direction, System.Vector3 &extremePoint ) : void |
Gets the extreme point of the shape in local space in a given direction.
|
|
WrappedShape ( |
Constructs a wrapped shape. A constructor is also available which takes a list of objects rather than just a pair. The shape will be recentered. If the center is needed, use the other constructor.
|
|
WrappedShape ( |
Constructs a wrapped shape. A constructor is also available which takes a list of objects rather than just a pair. The shape will be recentered.
|
|
WrappedShape ( IList |
Constructs a wrapped shape. The shape will be recentered; if the center is needed, use the other constructor.
|
|
WrappedShape ( IList |
Constructs a wrapped shape. The shape will be recentered.
|
Метод | Описание | |
---|---|---|
Recenter ( System.Vector3 ¢er ) : void | ||
ShapesChanged ( ObservableList |
public GetBoundingBox ( |
||
shapeTransform | Transform to use. | |
boundingBox | BEPUutilities.BoundingBox | Bounding box of the transformed shape. |
Результат | void |
public GetCollidableInstance ( ) : |
||
Результат |
public GetLocalExtremePointWithoutMargin ( System.Vector3 &direction, System.Vector3 &extremePoint ) : void | ||
direction | System.Vector3 | Direction to find the extreme point in. |
extremePoint | System.Vector3 | Extreme point on the shape. |
Результат | void |
public WrappedShape ( |
||
firstShape | First shape in the wrapped shape. | |
secondShape | Second shape in the wrapped shape. | |
Результат | System |
public WrappedShape ( |
||
firstShape | First shape in the wrapped shape. | |
secondShape | Second shape in the wrapped shape. | |
center | System.Vector3 | Center of the shape before recentering.. |
Результат | System |
public WrappedShape ( IList |
||
shapeEntries | IList |
Shape entries used to construct the shape. |
Результат | System |
public WrappedShape ( IList |
||
shapeEntries | IList |
Shape entries used to construct the shape. |
center | System.Vector3 | Center of the shape before recentering. |
Результат | System |