C# Класс Axiom.Core.BillboardChain

Наследование: Axiom.Core.MovableObject, IRenderable
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
aabb Axiom.Math.AxisAlignedBox
boundsDirty bool
buffersNeedRecreating bool
chainCount int
chainElementList List
chainSegmentList List
customParams List
dynamic bool
indexContentDirty bool
indexData Axiom.Graphics.IndexData
material Axiom.Graphics.Material
materialName string
maxElementsPerChain int
otherTexCoordRange float[]
radius float
renderOperation Axiom.Graphics.RenderOperation
texCoordDirection TexCoordDirection
useTexCoords bool
useVertexColor bool
vertexData Axiom.Graphics.VertexData
vertexDeclDirty bool

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

Метод Описание
AddChainElement ( int chainIndex, Element billboardChainElement ) : void
BillboardChain ( string name ) : System
BillboardChain ( string name, int maxElements ) : System
BillboardChain ( string name, int maxElements, int numberOfChains ) : System
BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords ) : System
BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords, bool useColors ) : System
BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords, bool useColors, bool dynamic ) : System
GetChainElement ( int chainIndex, int elementIndex ) : Element
GetCustomParameter ( int index ) : Vector4
GetSquaredViewDepth ( Camera camera ) : float

GetWorldTransforms ( Matrix4 matrices ) : void

NotifyCurrentCamera ( Camera camera ) : void
RemoveChainElement ( int chainIndex ) : void
SetCustomParameter ( int index, Vector4 val ) : void
UpdateChainElement ( int chainIndex, int elementIndex, Element billboardChainElement ) : void
UpdateCustomGpuParameter ( GpuProgramParameters entry, GpuProgramParameters gpuParams ) : void
UpdateRenderQueue ( RenderQueue queue ) : void

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

Метод Описание
SetupBuffers ( ) : void
SetupChainContainers ( ) : void
SetupVertexDeclaration ( ) : void
UpdateBoundingBox ( ) : void
UpdateIndexBuffer ( ) : void
UpdateVertexBuffer ( Camera camera ) : void
dispose ( bool disposeManagedResources ) : void

Class level dispose method

When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !isDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // There are no unmanaged resources to release, but // if we add them, they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }

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

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

public AddChainElement ( int chainIndex, Element billboardChainElement ) : void
chainIndex int
billboardChainElement Element
Результат void

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

public BillboardChain ( string name ) : System
name string
Результат System

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

public BillboardChain ( string name, int maxElements ) : System
name string
maxElements int
Результат System

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

public BillboardChain ( string name, int maxElements, int numberOfChains ) : System
name string
maxElements int
numberOfChains int
Результат System

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

public BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords ) : System
name string
maxElements int
numberOfChains int
useTextureCoords bool
Результат System

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

public BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords, bool useColors ) : System
name string
maxElements int
numberOfChains int
useTextureCoords bool
useColors bool
Результат System

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

public BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords, bool useColors, bool dynamic ) : System
name string
maxElements int
numberOfChains int
useTextureCoords bool
useColors bool
dynamic bool
Результат System

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

public GetChainElement ( int chainIndex, int elementIndex ) : Element
chainIndex int
elementIndex int
Результат Element

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

public GetCustomParameter ( int index ) : Vector4
index int
Результат Vector4

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

public GetSquaredViewDepth ( Camera camera ) : float
camera Camera
Результат float

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

public GetWorldTransforms ( Matrix4 matrices ) : void
matrices Axiom.Math.Matrix4
Результат void

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

public NotifyCurrentCamera ( Camera camera ) : void
camera Camera
Результат void

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

public RemoveChainElement ( int chainIndex ) : void
chainIndex int
Результат void

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

public SetCustomParameter ( int index, Vector4 val ) : void
index int
val Vector4
Результат void

SetupBuffers() защищенный метод

protected SetupBuffers ( ) : void
Результат void

SetupChainContainers() защищенный метод

protected SetupChainContainers ( ) : void
Результат void

SetupVertexDeclaration() защищенный метод

protected SetupVertexDeclaration ( ) : void
Результат void

UpdateBoundingBox() защищенный метод

protected UpdateBoundingBox ( ) : void
Результат void

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

public UpdateChainElement ( int chainIndex, int elementIndex, Element billboardChainElement ) : void
chainIndex int
elementIndex int
billboardChainElement Element
Результат void

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

public UpdateCustomGpuParameter ( GpuProgramParameters entry, GpuProgramParameters gpuParams ) : void
entry Axiom.Graphics.GpuProgramParameters
gpuParams Axiom.Graphics.GpuProgramParameters
Результат void

UpdateIndexBuffer() защищенный метод

protected UpdateIndexBuffer ( ) : void
Результат void

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

public UpdateRenderQueue ( RenderQueue queue ) : void
queue Axiom.Graphics.RenderQueue
Результат void

UpdateVertexBuffer() защищенный метод

protected UpdateVertexBuffer ( Camera camera ) : void
camera Camera
Результат void

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

Class level dispose method
When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !isDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // There are no unmanaged resources to release, but // if we add them, they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool True if Unmanaged resources should be released.
Результат void

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

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

protected AxisAlignedBox,Axiom.Math aabb
Результат Axiom.Math.AxisAlignedBox

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

protected bool boundsDirty
Результат bool

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

protected bool buffersNeedRecreating
Результат bool

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

protected int chainCount
Результат int

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

protected List chainElementList
Результат List

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

protected List chainSegmentList
Результат List

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

protected List customParams
Результат List

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

protected bool dynamic
Результат bool

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

protected bool indexContentDirty
Результат bool

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

protected IndexData,Axiom.Graphics indexData
Результат Axiom.Graphics.IndexData

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

protected Material,Axiom.Graphics material
Результат Axiom.Graphics.Material

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

protected string materialName
Результат string

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

protected int maxElementsPerChain
Результат int

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

protected float[] otherTexCoordRange
Результат float[]

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

protected float radius
Результат float

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

protected RenderOperation,Axiom.Graphics renderOperation
Результат Axiom.Graphics.RenderOperation

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

protected TexCoordDirection texCoordDirection
Результат TexCoordDirection

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

protected bool useTexCoords
Результат bool

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

protected bool useVertexColor
Результат bool

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

protected VertexData,Axiom.Graphics vertexData
Результат Axiom.Graphics.VertexData

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

protected bool vertexDeclDirty
Результат bool