SimplificationMesh.VertexWeights Property (Microsoft.DirectX.Direct3D)

Retrieves the per-vertex weights used to create the SimplificationMesh object.

Definition

Visual Basic Public ReadOnly Property VertexWeights As Single()
C# public float[] VertexWeights { get; }
C++ public:
property array<float>^ VertexWeights {
        array<float>^ get();
}
JScript public function get VertexWeights() : float[]

Property Value

System.Single[]
Array of SingleLeave Site values to be filled with vertex weights. Each floating-point value contains one vertex.

This property is read-only. 

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.

See Also