Struct Material
Syntax
Fields
Default
Declaration
public static readonly Material Default
Field Value
Flags
Declaration
public Material.MaterialFlags Flags
Field Value
Friction
Declaration
Field Value
Type |
Description |
System.Single |
|
FrictionCombinePolicy
Declaration
public Material.CombinePolicy FrictionCombinePolicy
Field Value
Restitution
Declaration
Field Value
Type |
Description |
System.Single |
|
RestitutionCombinePolicy
Declaration
public Material.CombinePolicy RestitutionCombinePolicy
Field Value
Properties
EnableCollisionEvents
Declaration
public bool EnableCollisionEvents { get; }
Property Value
Type |
Description |
System.Boolean |
|
EnableMassFactors
Declaration
public bool EnableMassFactors { get; }
Property Value
Type |
Description |
System.Boolean |
|
EnableMaxImpulse
Declaration
public bool EnableMaxImpulse { get; }
Property Value
Type |
Description |
System.Boolean |
|
EnableSurfaceVelocity
Declaration
public bool EnableSurfaceVelocity { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsTrigger
Declaration
public bool IsTrigger { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
GetCombinedFriction(Material, Material)
Declaration
public static float GetCombinedFriction(Material materialA, Material materialB)
Parameters
Returns
Type |
Description |
System.Single |
|
GetCombinedRestitution(Material, Material)
Declaration
public static float GetCombinedRestitution(Material materialA, Material materialB)
Parameters
Returns
Type |
Description |
System.Single |
|