C# Класс BEPUphysics.CollisionShapes.EntityShape

Superclass of all collision shapes that are used by Entities.
Наследование: BEPUphysics.CollisionShapes.CollisionShape
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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