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
Setmethod. In .NET a Color should be translated to a number by calling itsToArgbmethod and casting the result as an unsigned integer.
Shows the format of
the Colors parameter when setting per vertex colors.
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Shows the format of
the Colors parameter when setting per vertex colors.
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||