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

Collection of triangle mesh data that directly returns vertices from its vertex buffer instead of transforming them first.
Наследование: 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.

StaticMeshData ( Vector3 vertices, int indices ) : Microsoft.Xna.Framework

Constructs the triangle 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

StaticMeshData() публичный Метод

Constructs the triangle mesh data.
public StaticMeshData ( Vector3 vertices, int indices ) : Microsoft.Xna.Framework
vertices Vector3 Vertices to use in the data.
indices int Indices to use in the data.
Результат Microsoft.Xna.Framework