C# Class BEPUphysics.CollisionShapes.CompoundShapeEntry

Contains a shape and its local transform relative to its owning compound shape. This is used to construct compound shapes.
显示文件 Open project: Indiefreaks/igf Class Usage Examples

Public Properties

Property Type Description
LocalTransform BEPUutilities.RigidTransform
Shape EntityShape
Weight float

Public Methods

Method Description
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.

Method Details

CompoundShapeEntry() public method

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.
return System

CompoundShapeEntry() public method

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.
return System

CompoundShapeEntry() public method

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.
return System

CompoundShapeEntry() public method

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.
return System

CompoundShapeEntry() public method

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.
return System

CompoundShapeEntry() public method

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.
return System

CompoundShapeEntry() public method

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.
return System

CompoundShapeEntry() public method

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.
return System

Property Details

LocalTransform public_oe property

Local transform of the shape relative to its owning compound shape.
public RigidTransform,BEPUutilities LocalTransform
return BEPUutilities.RigidTransform

Shape public_oe property

Shape used by the compound.
public EntityShape,BEPUphysics.CollisionShapes Shape
return EntityShape

Weight public_oe property

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
return float