Method AddMaterial
AddMaterial(RideMaterial, String)
Adds material so that it becomes known and tracked by the system.
Declaration
RideID AddMaterial(RideMaterial material, string family = null)
Parameters
Type | Name | Description |
---|---|---|
RideMaterial | material | The material. |
System.String | family | Optional parameter. Groups materials with the same family together in a dictionary for quick access. |
Returns
Type | Description |
---|---|
RideID |