C# 클래스 BEPUphysics.DataStructures.MeshBoundingBoxTreeData

Superclass of the data used to create triangle mesh bounding box trees.
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
GetBoundingBox ( int triangleIndex, Microsoft.Xna.Framework.BoundingBox &boundingBox ) : void

Gets the bounding box of an element in the data.

GetTriangle ( int triangleIndex, Microsoft.Xna.Framework.Vector3 &v1, Microsoft.Xna.Framework.Vector3 &v2, Microsoft.Xna.Framework.Vector3 &v3 ) : void

Gets the triangle vertex positions at a given index.

GetVertexPosition ( int i, Microsoft.Xna.Framework.Vector3 &vertex ) : void

Gets the position of a vertex in the data.

메소드 상세

GetBoundingBox() 공개 메소드

Gets the bounding box of an element in the data.
public GetBoundingBox ( int triangleIndex, Microsoft.Xna.Framework.BoundingBox &boundingBox ) : void
triangleIndex int Index of the triangle in the data.
boundingBox Microsoft.Xna.Framework.BoundingBox Bounding box of the triangle.
리턴 void

GetTriangle() 공개 추상적인 메소드

Gets the triangle vertex positions at a given index.
public abstract GetTriangle ( int triangleIndex, Microsoft.Xna.Framework.Vector3 &v1, Microsoft.Xna.Framework.Vector3 &v2, Microsoft.Xna.Framework.Vector3 &v3 ) : void
triangleIndex int First index of a triangle's vertices in the index buffer.
v1 Microsoft.Xna.Framework.Vector3 First vertex of the triangle.
v2 Microsoft.Xna.Framework.Vector3 Second vertex of the triangle.
v3 Microsoft.Xna.Framework.Vector3 Third vertex of the triangle.
리턴 void

GetVertexPosition() 공개 추상적인 메소드

Gets the position of a vertex in the data.
public abstract GetVertexPosition ( int i, Microsoft.Xna.Framework.Vector3 &vertex ) : void
i int Index of the vertex.
vertex Microsoft.Xna.Framework.Vector3 Position of the vertex.
리턴 void