Axiom.Core.Entity.GetVertexDataForBinding C# (CSharp) Method

GetVertexDataForBinding() public method

public GetVertexDataForBinding ( ) : VertexData
return Axiom.Graphics.VertexData
		public VertexData GetVertexDataForBinding()
		{
			VertexDataBindChoice c =
					this.ChooseVertexDataForBinding( this.mesh.SharedVertexDataAnimationType != VertexAnimationType.None );
			switch ( c )
			{
				case VertexDataBindChoice.Original:
					return this.mesh.SharedVertexData;
				case VertexDataBindChoice.HardwareMorph:
					return this.hardwareVertexAnimVertexData;
				case VertexDataBindChoice.SoftwareMorph:
					return this.softwareVertexAnimVertexData;
				case VertexDataBindChoice.SoftwareSkeletal:
					return this.skelAnimVertexData;
			}
			;
			// keep compiler happy
			return this.mesh.SharedVertexData;
		}