메소드 | 설명 | |
---|---|---|
ComputeCenter ( ) : Vector3 |
Computes the center of the shape. This can be considered its center of mass.
|
|
ComputeCenter ( IList |
Computes the center of a convex hull defined by the point set.
|
|
ComputeCenter ( IList |
Computes the center and surface triangles of a convex hull defined by a point set.
|
|
ComputeCenter ( IList |
Computes the center and surface triangles of a convex hull defined by a point set.
|
|
ComputeCenter ( IList |
Computes the center and volume of a convex hull defined by a pointset.
|
|
ComputeCenter ( IList |
Computes the center, volume, and surface triangles of a convex hull defined by a point set.
|
|
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.
|
|
ComputeCenter ( float &volume, IList |
Computes the center, volume, and surface triangles of the convex hull shape.
|
|
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 |
Computes the minimum radius of the shape. This is often smaller than the actual minimum radius; it is simply an approximation that avoids overestimating.
|
|
ComputeVolume ( ) : float |
Computes the volume of the shape.
|
|
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.
|
|
ComputeVolumeDistribution ( float volume, IList |
Computes the volume distribution of the convex hull, its volume, and its surface triangles.
|
|
ConvexHullShape ( IList |
Constructs a new convex hull shape. The point set will be recentered on the local origin. If that offset is needed, use the other constructor which outputs the computed center.
|
|
ConvexHullShape ( IList |
Constructs a new convex hull shape. The point set will be recentered on the local origin.
|
|
ConvexHullShape ( IList |
Constructs a new convex hull shape. The point set will be recentered on the local origin.
|
|
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 ( Vector3 &direction, Vector3 &extremePoint ) : void |
public static ComputeCenter ( IList |
||
vertices | IList |
Point set defining the convex hull. |
리턴 | Vector3 |
public static ComputeCenter ( IList |
||
vertices | IList |
Point set defining the convex hull. |
outputLocalSurfaceVertices | IList |
Local positions of vertices on the convex hull. |
리턴 | Vector3 |
public static ComputeCenter ( IList |
||
vertices | IList |
Point set defining the convex hull. |
outputSurfaceTriangles | IList |
Indices of surface triangles of the convex hull. |
outputLocalSurfaceVertices | IList |
Local positions of vertices on the convex hull. |
리턴 | Vector3 |
public static ComputeCenter ( IList |
||
vertices | IList |
Point set defining the convex hull. |
volume | float | Volume of the convex hull. |
리턴 | Vector3 |
public static ComputeCenter ( IList |
||
vertices | IList |
Point set defining the convex hull. |
volume | float | Volume of the convex hull. |
outputSurfaceTriangles | IList |
Indices of surface triangles of the convex hull. |
outputLocalSurfaceVertices | IList |
Local positions of vertices on the convex hull. |
리턴 | Vector3 |
public ComputeCenter ( float &volume ) : Vector3 | ||
volume | float | Volume of the shape. |
리턴 | Vector3 |
public ComputeCenter ( float &volume, IList |
||
volume | float | Volume of the hull. |
outputSurfaceTriangles | IList |
Surface triangles of the hull. |
outputLocalSurfaceVertices | IList |
Surface vertices recentered on the center of volume. |
리턴 | Vector3 |
public ComputeVolumeDistribution ( float &volume ) : |
||
volume | float | Volume of the shape. |
리턴 |
public ComputeVolumeDistribution ( float volume, IList |
||
volume | float | Volume of the convex hull. |
localSurfaceTriangles | IList |
Surface triangles of the convex hull. |
리턴 |
public ConvexHullShape ( IList |
||
vertices | IList |
Point set to use to construct the convex hull. |
리턴 | System |
public ConvexHullShape ( IList |
||
vertices | IList |
Point set to use to construct the convex hull. |
center | Vector3 | Computed center of the convex hull shape prior to recentering. |
리턴 | System |
public ConvexHullShape ( IList |
||
vertices | IList |
Point set to use to construct the convex hull. |
center | Vector3 | Computed center of the convex hull shape prior to recentering. |
outputHullTriangleIndices | IList |
Triangle indices computed on the surface of the point set. |
outputUniqueSurfaceVertices | IList |
Unique vertices on the surface of the convex hull. |
리턴 | System |
public GetBoundingBox ( |
||
shapeTransform | Transform to use. | |
boundingBox | BoundingBox | Bounding box of the transformed shape. |
리턴 | void |
public GetCollidableInstance ( ) : |
||
리턴 |
public GetLocalExtremePointWithoutMargin ( Vector3 &direction, Vector3 &extremePoint ) : void | ||
direction | Vector3 | |
extremePoint | Vector3 | |
리턴 | void |