Axiom.Core.BillboardChain.BillboardChain C# (CSharp) Method

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
		public BillboardChain( string name, int maxElements, int numberOfChains, bool useTextureCoords, bool useColors, bool dynamic )
			: base( name )
		{
			this.maxElementsPerChain = maxElements;
			this.chainCount = numberOfChains;
			this.useTexCoords = useTextureCoords;
			this.useVertexColor = useColors;
			this.dynamic = dynamic;

			this.vertexDeclDirty = true;
			this.buffersNeedRecreating = true;
			this.boundsDirty = true;
			this.indexContentDirty = true;
			this.radius = 0.0f;
			this.texCoordDirection = TexCoordDirection.U;

			this.vertexData = new VertexData();
			this.indexData = new IndexData();

			this.otherTexCoordRange[ 0 ] = 0.0f;
			this.otherTexCoordRange[ 1 ] = 1.0f;

			this.SetupChainContainers();

			this.vertexData.vertexStart = 0;
			// index data setup later
			// set basic white material
			this.MaterialName = "BaseWhiteNoLighting";
		}

Same methods

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