C# Class Axiom.Core.BillboardChain

Inheritance: Axiom.Core.MovableObject, IRenderable
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

public AddChainElement ( int chainIndex, Element billboardChainElement ) : void
chainIndex int
billboardChainElement Element
Résultat void

BillboardChain() public méthode

public BillboardChain ( string name ) : System
name string
Résultat System

BillboardChain() public méthode

public BillboardChain ( string name, int maxElements ) : System
name string
maxElements int
Résultat System

BillboardChain() public méthode

public BillboardChain ( string name, int maxElements, int numberOfChains ) : System
name string
maxElements int
numberOfChains int
Résultat System

BillboardChain() public méthode

public BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords ) : System
name string
maxElements int
numberOfChains int
useTextureCoords bool
Résultat System

BillboardChain() public méthode

public BillboardChain ( string name, int maxElements, int numberOfChains, bool useTextureCoords, bool useColors ) : System
name string
maxElements int
numberOfChains int
useTextureCoords bool
useColors bool
Résultat System

BillboardChain() public méthode

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
Résultat System

GetChainElement() public méthode

public GetChainElement ( int chainIndex, int elementIndex ) : Element
chainIndex int
elementIndex int
Résultat Element

GetCustomParameter() public méthode

public GetCustomParameter ( int index ) : Vector4
index int
Résultat Vector4

GetSquaredViewDepth() public méthode

public GetSquaredViewDepth ( Camera camera ) : float
camera Camera
Résultat float

GetWorldTransforms() public méthode

public GetWorldTransforms ( Matrix4 matrices ) : void
matrices Axiom.Math.Matrix4
Résultat void

NotifyCurrentCamera() public méthode

public NotifyCurrentCamera ( Camera camera ) : void
camera Camera
Résultat void

RemoveChainElement() public méthode

public RemoveChainElement ( int chainIndex ) : void
chainIndex int
Résultat void

SetCustomParameter() public méthode

public SetCustomParameter ( int index, Vector4 val ) : void
index int
val Vector4
Résultat void

SetupBuffers() protected méthode

protected SetupBuffers ( ) : void
Résultat void

SetupChainContainers() protected méthode

protected SetupChainContainers ( ) : void
Résultat void

SetupVertexDeclaration() protected méthode

protected SetupVertexDeclaration ( ) : void
Résultat void

UpdateBoundingBox() protected méthode

protected UpdateBoundingBox ( ) : void
Résultat void

UpdateChainElement() public méthode

public UpdateChainElement ( int chainIndex, int elementIndex, Element billboardChainElement ) : void
chainIndex int
elementIndex int
billboardChainElement Element
Résultat void

UpdateCustomGpuParameter() public méthode

public UpdateCustomGpuParameter ( GpuProgramParameters entry, GpuProgramParameters gpuParams ) : void
entry Axiom.Graphics.GpuProgramParameters
gpuParams Axiom.Graphics.GpuProgramParameters
Résultat void

UpdateIndexBuffer() protected méthode

protected UpdateIndexBuffer ( ) : void
Résultat void

UpdateRenderQueue() public méthode

public UpdateRenderQueue ( RenderQueue queue ) : void
queue Axiom.Graphics.RenderQueue
Résultat void

UpdateVertexBuffer() protected méthode

protected UpdateVertexBuffer ( Camera camera ) : void
camera Camera
Résultat void

dispose() protected méthode

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.
Résultat void

Property Details

aabb protected_oe property

protected AxisAlignedBox,Axiom.Math aabb
Résultat Axiom.Math.AxisAlignedBox

boundsDirty protected_oe property

protected bool boundsDirty
Résultat bool

buffersNeedRecreating protected_oe property

protected bool buffersNeedRecreating
Résultat bool

chainCount protected_oe property

protected int chainCount
Résultat int

chainElementList protected_oe property

protected List chainElementList
Résultat List

chainSegmentList protected_oe property

protected List chainSegmentList
Résultat List

customParams protected_oe property

protected List customParams
Résultat List

dynamic protected_oe property

protected bool dynamic
Résultat bool

indexContentDirty protected_oe property

protected bool indexContentDirty
Résultat bool

indexData protected_oe property

protected IndexData,Axiom.Graphics indexData
Résultat Axiom.Graphics.IndexData

material protected_oe property

protected Material,Axiom.Graphics material
Résultat Axiom.Graphics.Material

materialName protected_oe property

protected string materialName
Résultat string

maxElementsPerChain protected_oe property

protected int maxElementsPerChain
Résultat int

otherTexCoordRange protected_oe property

protected float[] otherTexCoordRange
Résultat float[]

radius protected_oe property

protected float radius
Résultat float

renderOperation protected_oe property

protected RenderOperation,Axiom.Graphics renderOperation
Résultat Axiom.Graphics.RenderOperation

texCoordDirection protected_oe property

protected TexCoordDirection texCoordDirection
Résultat TexCoordDirection

useTexCoords protected_oe property

protected bool useTexCoords
Résultat bool

useVertexColor protected_oe property

protected bool useVertexColor
Résultat bool

vertexData protected_oe property

protected VertexData,Axiom.Graphics vertexData
Résultat Axiom.Graphics.VertexData

vertexDeclDirty protected_oe property

protected bool vertexDeclDirty
Résultat bool