Share via


PrtEngine.GetVertexAlbedo(Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves albedo values of the mesh vertices.

Definition

Visual Basic Public Function GetVertexAlbedo( _
    ByVal numberVerts As Integer _
) As ColorValue()
C# public ColorValue[] GetVertexAlbedo(
    int numberVerts
);
C++ public:
array<ColorValue>^ GetVertexAlbedo(
    int numberVerts
);
JScript public function GetVertexAlbedo(
    numberVerts : int
) : ColorValue[];

Parameters

numberVerts System.Int32
Number of vertices in the mesh.

Return Value

Microsoft.DirectX.Direct3D.ColorValue[]
A ColorValue array that contains albedo values of the mesh vertices.

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.