Method SetType
SetType(RideID, TerrainType)
Sets the TerrainType and FragmentType of the TerrainAttribute. FragmentType is automatically set based on the TerrainType.
Declaration
void SetType(RideID terrainAttribute, TerrainType terrainType)
Parameters
Type | Name | Description |
---|---|---|
RideID | terrainAttribute | RideID of the terrain attribute. |
TerrainType | terrainType | TerrainType to be set. |