C# 클래스 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.
상속: BEPUphysics.CollisionShapes.CollisionShape
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

ComputeBoundingBox() 공개 메소드

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.
리턴 void

InstancedMeshShape() 공개 메소드

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.
리턴 BEPUphysics.DataStructures