Method GetColors
GetColors(RideID)
Gets the vertex colors of the Mesh. The color at each index corresponds to the vertex with the same index.
Declaration
RideColor[] GetColors(RideID mesh)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
Returns
Type | Description |
---|---|
RideColor[] | The mesh's color array. |
GetColors(RideID, ref List<RideColor>)
Gets the vertex colors of the Mesh. The color at each index corresponds to the vertex with the same index.
Declaration
void GetColors(RideID mesh, ref List<RideColor> colors)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
List<RideColor> | colors | A list of vertex colors to populate. |