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

Contains a shape and its local transform relative to its owning compound shape. This is used to construct compound shapes.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
LocalTransform BEPUutilities.RigidTransform
Shape EntityShape
Weight float

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

Метод Описание
CompoundShapeEntry ( EntityShape shape ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, Quaternion orientation ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, Quaternion orientation, float weight ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, RigidTransform localTransform ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, RigidTransform localTransform, float weight ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, System.Vector3 position ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, System.Vector3 position, float weight ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, float weight ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

Описание методов

CompoundShapeEntry() публичный метод

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape ) : System
shape EntityShape Shape to use.
Результат System

CompoundShapeEntry() публичный метод

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, Quaternion orientation ) : System
shape EntityShape Shape to use.
orientation Quaternion Local orientation of the shape.
Результат System

CompoundShapeEntry() публичный метод

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, Quaternion orientation, float weight ) : System
shape EntityShape Shape to use.
orientation Quaternion Local orientation of the shape.
weight float Weight of the entry. This defines how much the entry contributes to its owner /// for the purposes of center of rotation computation.
Результат System

CompoundShapeEntry() публичный метод

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, RigidTransform localTransform ) : System
shape EntityShape Shape to use.
localTransform BEPUutilities.RigidTransform Local transform of the shape.
Результат System

CompoundShapeEntry() публичный метод

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, RigidTransform localTransform, float weight ) : System
shape EntityShape Shape to use.
localTransform BEPUutilities.RigidTransform Local transform of the shape.
weight float Weight of the entry. This defines how much the entry contributes to its owner /// for the purposes of center of rotation computation.
Результат System

CompoundShapeEntry() публичный метод

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, System.Vector3 position ) : System
shape EntityShape Shape to use.
position System.Vector3 Local position of the shape.
Результат System

CompoundShapeEntry() публичный метод

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, System.Vector3 position, float weight ) : System
shape EntityShape Shape to use.
position System.Vector3 Local position of the shape.
weight float Weight of the entry. This defines how much the entry contributes to its owner /// for the purposes of center of mass and inertia computation.
Результат System

CompoundShapeEntry() публичный метод

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, float weight ) : System
shape EntityShape Shape to use.
weight float Weight of the entry. This defines how much the entry contributes to its owner /// for the purposes of center of rotation computation.
Результат System

Описание свойств

LocalTransform публичное свойство

Local transform of the shape relative to its owning compound shape.
public RigidTransform,BEPUutilities LocalTransform
Результат BEPUutilities.RigidTransform

Shape публичное свойство

Shape used by the compound.
public EntityShape,BEPUphysics.CollisionShapes Shape
Результат EntityShape

Weight публичное свойство

Weight of the entry. This defines how much the entry contributes to its owner for the purposes of center of rotation computation.
public float Weight
Результат float