C# Class Axiom.Core.BillboardChain

Inheritance: Axiom.Core.MovableObject, IRenderable
Show file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
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

Public Methods

Method Description
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

Protected Methods

Method Description
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 ); }

Method Details

AddChainElement() public method

public AddChainElement ( int chainIndex, Element billboardChainElement ) : void
chainIndex int
billboardChainElement Element
return void

BillboardChain() public method

public BillboardChain ( string name ) : System
name string
return System

BillboardChain() public method

public BillboardChain ( string name, int maxElements ) : System
name string
maxElements int
return System

BillboardChain() public method

public BillboardChain ( string name, int maxElements, int numberOfChains ) : System
name string
maxElements int
numberOfChains int
return System

BillboardChain() public method

public BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords ) : System
name string
maxElements int
numberOfChains int
useTextureCoords bool
return System

BillboardChain() public method

public BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords, bool useColors ) : System
name string
maxElements int
numberOfChains int
useTextureCoords bool
useColors bool
return System

BillboardChain() public method

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
return System

GetChainElement() public method

public GetChainElement ( int chainIndex, int elementIndex ) : Element
chainIndex int
elementIndex int
return Element

GetCustomParameter() public method

public GetCustomParameter ( int index ) : Vector4
index int
return Vector4

GetSquaredViewDepth() public method

public GetSquaredViewDepth ( Camera camera ) : float
camera Camera
return float

GetWorldTransforms() public method

public GetWorldTransforms ( Matrix4 matrices ) : void
matrices Axiom.Math.Matrix4
return void

NotifyCurrentCamera() public method

public NotifyCurrentCamera ( Camera camera ) : void
camera Camera
return void

RemoveChainElement() public method

public RemoveChainElement ( int chainIndex ) : void
chainIndex int
return void

SetCustomParameter() public method

public SetCustomParameter ( int index, Vector4 val ) : void
index int
val Vector4
return void

SetupBuffers() protected method

protected SetupBuffers ( ) : void
return void

SetupChainContainers() protected method

protected SetupChainContainers ( ) : void
return void

SetupVertexDeclaration() protected method

protected SetupVertexDeclaration ( ) : void
return void

UpdateBoundingBox() protected method

protected UpdateBoundingBox ( ) : void
return void

UpdateChainElement() public method

public UpdateChainElement ( int chainIndex, int elementIndex, Element billboardChainElement ) : void
chainIndex int
elementIndex int
billboardChainElement Element
return void

UpdateCustomGpuParameter() public method

public UpdateCustomGpuParameter ( GpuProgramParameters entry, GpuProgramParameters gpuParams ) : void
entry Axiom.Graphics.GpuProgramParameters
gpuParams Axiom.Graphics.GpuProgramParameters
return void

UpdateIndexBuffer() protected method

protected UpdateIndexBuffer ( ) : void
return void

UpdateRenderQueue() public method

public UpdateRenderQueue ( RenderQueue queue ) : void
queue Axiom.Graphics.RenderQueue
return void

UpdateVertexBuffer() protected method

protected UpdateVertexBuffer ( Camera camera ) : void
camera Camera
return void

dispose() protected method

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.
return void

Property Details

aabb protected property

protected AxisAlignedBox,Axiom.Math aabb
return Axiom.Math.AxisAlignedBox

boundsDirty protected property

protected bool boundsDirty
return bool

buffersNeedRecreating protected property

protected bool buffersNeedRecreating
return bool

chainCount protected property

protected int chainCount
return int

chainElementList protected property

protected List chainElementList
return List

chainSegmentList protected property

protected List chainSegmentList
return List

customParams protected property

protected List customParams
return List

dynamic protected property

protected bool dynamic
return bool

indexContentDirty protected property

protected bool indexContentDirty
return bool

indexData protected property

protected IndexData,Axiom.Graphics indexData
return Axiom.Graphics.IndexData

material protected property

protected Material,Axiom.Graphics material
return Axiom.Graphics.Material

materialName protected property

protected string materialName
return string

maxElementsPerChain protected property

protected int maxElementsPerChain
return int

otherTexCoordRange protected property

protected float[] otherTexCoordRange
return float[]

radius protected property

protected float radius
return float

renderOperation protected property

protected RenderOperation,Axiom.Graphics renderOperation
return Axiom.Graphics.RenderOperation

texCoordDirection protected property

protected TexCoordDirection texCoordDirection
return TexCoordDirection

useTexCoords protected property

protected bool useTexCoords
return bool

useVertexColor protected property

protected bool useVertexColor
return bool

vertexData protected property

protected VertexData,Axiom.Graphics vertexData
return Axiom.Graphics.VertexData

vertexDeclDirty protected property

protected bool vertexDeclDirty
return bool