Method GetNormals
GetNormals(RideID)
Gets the vertex normals of the Mesh. The normal at each index corresponds to the vertex with the same index.
Declaration
RideVector3[] GetNormals(RideID mesh)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
Returns
Type | Description |
---|---|
RideVector3[] | Returns the normals of the mesh. |
GetNormals(RideID, ref List<RideVector3>)
Gets the vertex normals of the Mesh. The normal at each index corresponds to the vertex with the same index.
Declaration
void GetNormals(RideID mesh, ref List<RideVector3> normals)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
List<RideVector3> | normals | A list of vertex normals to populate. |