C# 클래스 BEPUphysics.CollisionShapes.EntityShape

Superclass of all collision shapes that are used by Entities.
상속: BEPUphysics.CollisionShapes.CollisionShape
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
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 ( ShapeDistributionInformation &shapeInfo ) : void

Computes a variety of shape information all at once.

ComputeVolume ( ) : float

Computes the volume of the shape.

ComputeVolumeDistribution ( ) : Matrix3x3

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 ) : Matrix3x3

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 ( RigidTransform &transform, BEPUutilities.BoundingBox &boundingBox ) : void

Computes a bounding box for the shape given the specified transform.

GetCollidableInstance ( ) : EntityCollidable

Retrieves an instance of an EntityCollidable that uses this EntityShape. Mainly used by compound bodies.

메소드 상세

ComputeCenter() 공개 메소드

Computes the center of the shape. This can be considered its center of mass.
public ComputeCenter ( ) : Vector3
리턴 Vector3

ComputeCenter() 공개 메소드

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.
public ComputeCenter ( float &volume ) : Vector3
volume float Volume of the shape.
리턴 Vector3

ComputeDistributionInformation() 공개 추상적인 메소드

Computes a variety of shape information all at once.
public abstract ComputeDistributionInformation ( ShapeDistributionInformation &shapeInfo ) : void
shapeInfo ShapeDistributionInformation Properties of the shape.
리턴 void

ComputeVolume() 공개 메소드

Computes the volume of the shape.
public ComputeVolume ( ) : float
리턴 float

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.
public ComputeVolumeDistribution ( ) : Matrix3x3
리턴 BEPUutilities.Matrix3x3

ComputeVolumeDistribution() 공개 메소드

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.
public ComputeVolumeDistribution ( float &volume ) : Matrix3x3
volume float Volume of the shape.
리턴 BEPUutilities.Matrix3x3

GetBoundingBox() 공개 추상적인 메소드

Computes a bounding box for the shape given the specified transform.
public abstract GetBoundingBox ( RigidTransform &transform, BEPUutilities.BoundingBox &boundingBox ) : void
transform BEPUutilities.RigidTransform Transform to apply to the shape to compute the bounding box.
boundingBox BEPUutilities.BoundingBox Bounding box for the shape given the transform.
리턴 void

GetCollidableInstance() 공개 추상적인 메소드

Retrieves an instance of an EntityCollidable that uses this EntityShape. Mainly used by compound bodies.
public abstract GetCollidableInstance ( ) : EntityCollidable
리턴 BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable