Axiom.Core.ProgressiveMesh.AddExtraVertexPositionBuffer C# (CSharp) Метод

AddExtraVertexPositionBuffer() публичный Метод

Adds an extra vertex position buffer.
As well as the main vertex buffer, the client of this class may add extra versions of the vertex buffer which will also be taken into account when the cost of simplifying the mesh is taken into account. This is because the cost of simplifying an animated mesh cannot be calculated from just the reference position, multiple positions needs to be assessed in order to find the best simplification option.

DO NOT pass write-only, unshadowed buffers to this method! They will not work. Pass only shadowed buffers, or better yet perform mesh reduction as an offline process using DefaultHardwareBufferManager to manage vertex buffers in system memory.

public AddExtraVertexPositionBuffer ( VertexData vertexData ) : void
vertexData Axiom.Graphics.VertexData buffer Pointer to x/y/z buffer with vertex positions. /// The number of vertices must be the same as in the original GeometryData passed to the constructor. ///
Результат void
		public void AddExtraVertexPositionBuffer( VertexData vertexData )
		{
			AddWorkingData( vertexData, this.indexData );
		}