C# Class BEPUphysics.CollisionShapes.InstancedMeshShape

Local space data associated with an instanced mesh. This contains a hierarchy and all the other heavy data needed by an InstancedMesh.
Inheritance: BEPUphysics.CollisionShapes.CollisionShape
ファイルを表示 Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
ComputeBoundingBox ( AffineTransform &transform, BoundingBox &boundingBox ) : void

Computes the bounding box of the transformed mesh shape.

InstancedMeshShape ( Microsoft.Xna.Framework.Vector3 vertices, int indices ) : BEPUphysics.DataStructures

Constructs a new instanced mesh shape.

Method Details

ComputeBoundingBox() public method

Computes the bounding box of the transformed mesh shape.
public ComputeBoundingBox ( AffineTransform &transform, BoundingBox &boundingBox ) : void
transform BEPUutilities.AffineTransform Transform to apply to the shape during the bounding box calculation.
boundingBox BoundingBox Bounding box containing the transformed mesh shape.
return void

InstancedMeshShape() public method

Constructs a new instanced mesh shape.
public InstancedMeshShape ( Microsoft.Xna.Framework.Vector3 vertices, int indices ) : BEPUphysics.DataStructures
vertices Microsoft.Xna.Framework.Vector3 Vertices of the mesh.
indices int Indices of the mesh.
return BEPUphysics.DataStructures