C# Класс Axiom.Graphics.AnyBuilder

Base class for classes that iterate over the vertices in a mesh
Наследование: DisposableObject
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
customIndexBufferList List
indexDataList IndexDataList
indexDataVertexDataSetList Axiom.Core.IntList
operationTypes OperationTypeList
vertexDataList VertexDataList

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

Метод Описание
AddIndexData ( IndexData indexData ) : void

Add a set of index geometry data to the edge builder.

You must add at least one set of index data to the builder before invoking the method.

AddIndexData ( IndexData indexData, int vertexSet ) : void
AddIndexData ( IndexData indexData, int vertexSet, OperationType opType ) : void

Add a set of index geometry data to the edge builder.

You must add at least one set of index data to the builder before invoking the method.

AddObject ( IRenderable obj ) : void

Populate with data as obtained from an IRenderable.

Will share the buffers. In case there are no index data associated with the IRenderable, i.e. RenderOperation.useIndices is false, custom software index buffer is created to provide default index data to the builder. This makes it possible for derived classes to handle the data in a convenient way.

AddObject ( Axiom.Core.Mesh mesh, int lodIndex ) : void

Add vertex and index sets of a mesh to the builder.

AddVertexData ( VertexData vertexData ) : void

Add a set of vertex geometry data to the edge builder.

You must add at least one set of vertex data to the builder before invoking the method.

Защищенные методы

Метод Описание
dispose ( bool disposeManagedResources ) : void

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

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

Add a set of index geometry data to the edge builder.
You must add at least one set of index data to the builder before invoking the method.
public AddIndexData ( IndexData indexData ) : void
indexData IndexData The index information which describes the triangles.
Результат void

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

public AddIndexData ( IndexData indexData, int vertexSet ) : void
indexData IndexData
vertexSet int
Результат void

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

Add a set of index geometry data to the edge builder.
You must add at least one set of index data to the builder before invoking the method.
public AddIndexData ( IndexData indexData, int vertexSet, OperationType opType ) : void
indexData IndexData The index information which describes the triangles.
vertexSet int /// The vertex data set this index data refers to; you only need to alter this /// if you have added multiple sets of vertices. ///
opType OperationType
Результат void

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

Populate with data as obtained from an IRenderable.
Will share the buffers. In case there are no index data associated with the IRenderable, i.e. RenderOperation.useIndices is false, custom software index buffer is created to provide default index data to the builder. This makes it possible for derived classes to handle the data in a convenient way.
public AddObject ( IRenderable obj ) : void
obj IRenderable
Результат void

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

Add vertex and index sets of a mesh to the builder.
public AddObject ( Axiom.Core.Mesh mesh, int lodIndex ) : void
mesh Axiom.Core.Mesh The mesh object.
lodIndex int The LOD level to be processed.
Результат void

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

Add a set of vertex geometry data to the edge builder.
You must add at least one set of vertex data to the builder before invoking the method.
public AddVertexData ( VertexData vertexData ) : void
vertexData VertexData Vertex data to consider for edge detection.
Результат void

dispose() защищенный Метод

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Результат void

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

customIndexBufferList защищенное свойство

List of software index buffers that were created and to be disposed by this class.
protected List customIndexBufferList
Результат List

indexDataList защищенное свойство

List of objects that will provide index data to the build process.
protected IndexDataList indexDataList
Результат IndexDataList

indexDataVertexDataSetList защищенное свойство

Mapping of index data sets to vertex data sets.
protected IntList,Axiom.Core indexDataVertexDataSetList
Результат Axiom.Core.IntList

operationTypes защищенное свойство

Mappings of operation type to vertex data.
protected OperationTypeList operationTypes
Результат OperationTypeList

vertexDataList защищенное свойство

List of vertex data objects.
protected VertexDataList vertexDataList
Результат VertexDataList