C# Класс Axiom.Graphics.EdgeData.Triangle

Basic triangle structure.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
indexSet int
lightFacing bool
normal Vector4
sharedVertIndex int[]
vertIndex int[]
vertexSet int

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

Метод Описание
ToString ( ) : string
Triangle ( ) : System

Default contructor.

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

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

public ToString ( ) : string
Результат string

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

Default contructor.
public Triangle ( ) : System
Результат System

Описание свойств

indexSet публичное свойство

The set of indexes this triangle came from (NB it is possible that the triangles on one side of an edge are using a different vertex buffer from those on the other side.)
public int indexSet
Результат int

lightFacing публичное свойство

Working vector used when calculating the silhouette.
public bool lightFacing
Результат bool

normal публичное свойство

Unit vector othogonal to this face, plus distance from origin.
public Vector4 normal
Результат Vector4

sharedVertIndex публичное свойство

Vertex indexes, relative to a shared vertex buffer with duplicates eliminated (this buffer is not exposed).
public int[] sharedVertIndex
Результат int[]

vertIndex публичное свойство

Vertex indexes, relative to the original buffer.
public int[] vertIndex
Результат int[]

vertexSet публичное свойство

The vertex set these vertices came from.
public int vertexSet
Результат int