Struct Material
Syntax
public struct Material : IEquatable<Material>
Fields
Declaration
Field Value
Default
Declaration
public static readonly Material Default
Field Value
Friction
Declaration
Field Value
FrictionCombinePolicy
Declaration
public Material.CombinePolicy FrictionCombinePolicy
Field Value
Restitution
Declaration
Field Value
RestitutionCombinePolicy
Declaration
public Material.CombinePolicy RestitutionCombinePolicy
Field Value
Properties
CollisionResponse
Declaration
public CollisionResponsePolicy CollisionResponse { get; set; }
Property Value
EnableCollisionEvents
Declaration
[Obsolete("EnableCollisionEvents has been deprecated. Use CollisionResponse instead. (RemovedAfter 2020-09-02)")]
public bool EnableCollisionEvents { get; }
Property Value
EnableMassFactors
Declaration
public bool EnableMassFactors { get; set; }
Property Value
EnableSurfaceVelocity
Declaration
public bool EnableSurfaceVelocity { get; set; }
Property Value
IsTrigger
Declaration
[Obsolete("IsTrigger has been deprecated. Use CollisionResponse instead. (RemovedAfter 2020-09-02)")]
public bool IsTrigger { get; }
Property Value
Methods
Equals(Material)
Declaration
public bool Equals(Material other)
Parameters
Returns
GetCombinedFriction(Material, Material)
Declaration
public static float GetCombinedFriction(Material materialA, Material materialB)
Parameters
Returns
GetCombinedRestitution(Material, Material)
Declaration
public static float GetCombinedRestitution(Material materialA, Material materialB)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides