C# Класс BEPUphysics.DataStructures.TransformableMeshData

Collection of mesh data which transforms its vertices before returning them.
Наследование: MeshBoundingBoxTreeData
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetTriangle ( int triangleIndex, Vector3 &v1, Vector3 &v2, Vector3 &v3 ) : void

Gets the triangle vertex positions at a given index.

GetVertexPosition ( int i, Vector3 &vertex ) : void

Gets the position of a vertex in the data.

TransformableMeshData ( Vector3 vertices, int indices ) : BEPUutilities

Constructs the mesh data.

TransformableMeshData ( Vector3 vertices, int indices, AffineTransform worldTransform ) : BEPUutilities

Constructs the mesh data.

Описание методов

GetTriangle() публичный метод

Gets the triangle vertex positions at a given index.
public GetTriangle ( int triangleIndex, Vector3 &v1, Vector3 &v2, Vector3 &v3 ) : void
triangleIndex int First index of a triangle's vertices in the index buffer.
v1 Vector3 First vertex of the triangle.
v2 Vector3 Second vertex of the triangle.
v3 Vector3 Third vertex of the triangle.
Результат void

GetVertexPosition() публичный метод

Gets the position of a vertex in the data.
public GetVertexPosition ( int i, Vector3 &vertex ) : void
i int Index of the vertex.
vertex Vector3 Position of the vertex.
Результат void

TransformableMeshData() публичный метод

Constructs the mesh data.
public TransformableMeshData ( Vector3 vertices, int indices ) : BEPUutilities
vertices Vector3 Vertices to use in the mesh data.
indices int Indices to use in the mesh data.
Результат BEPUutilities

TransformableMeshData() публичный метод

Constructs the mesh data.
public TransformableMeshData ( Vector3 vertices, int indices, AffineTransform worldTransform ) : BEPUutilities
vertices Vector3 Vertice sto use in the mesh data.
indices int Indices to use in the mesh data.
worldTransform BEPUutilities.AffineTransform Transform to apply to vertices before returning their positions.
Результат BEPUutilities