Defines a collection of colors.
[Visual Basic .NET] |
---|
Public Sub SetPerVertexColors( _ ByRef Colors As System.Array _ ) |
[C#] |
---|
public void SetPerVertexColors( |
[Managed C++] |
---|
public: void SetPerVertexColors( |
[Java] |
---|
public setPerVertexColors( |
[Unmanaged C++] |
---|
public: HRESULT SetPerVertexColors( |
- Colors
- An array containing the numeric representation of colors for each vertex in the mesh. There must be one color for each position passed to the Triangle Mesh Primitive's
Set
method. In .NET a Color should be translated to a number by calling itsToArgb
method and casting the result as an unsigned integer.
Shows the format of the Colors parameter when setting per vertex colors.
[C#] | ![]() | |
---|---|---|
|
Shows the format of the Colors parameter when setting per vertex colors.
[Visual Basic .NET] | ![]() | |
---|---|---|
|