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
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

InstancedMeshShape() public méthode

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.
Résultat BEPUphysics.DataStructures