Method GetCombinedRestitution
GetCombinedRestitution(Material, Material)
Get a combined restitution value for a pair of materials. The combine policy with the highest value takes priority.
Declaration
public static float GetCombinedRestitution(Material materialA, Material materialB)
Parameters
Type | Name | Description |
---|---|---|
Material | materialA | The material a. |
Material | materialB | The material b. |
Returns
Type | Description |
---|---|
float | The combined restitution. |