Click or drag to resize
DigitalRuneMaterialProperties Structure
Defines material properties of a rigid body.

Namespace: DigitalRune.Physics.Materials
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public struct MaterialProperties : IEquatable<MaterialProperties>

The MaterialProperties type exposes the following members.

Constructors
  NameDescription
Public methodMaterialProperties(Single, Single, Single)
Initializes a new instance of the MaterialProperties structure.
Public methodMaterialProperties(Single, Single, Single, Vector3F)
Initializes a new instance of the MaterialProperties structure.
Public methodMaterialProperties(Single, Single, Single, Boolean, Vector3F)
Initializes a new instance of the MaterialProperties structure.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(MaterialProperties)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares MaterialProperties to determine whether they are the same.
Public operatorStatic memberInequality
Compares MaterialProperties to determine whether they are different.
Top
Properties
  NameDescription
Public propertyDynamicFriction
Gets or sets the dynamic friction (kinetic friction) coefficient.
Public propertyRestitution
Gets or sets the coefficient of restitution (bounciness).
Public propertyStaticFriction
Gets or sets the static friction coefficient.
Public propertySupportsSurfaceMotion
Gets or sets a value indicating whether this material supports surface motion.
Public propertySurfaceMotion
Gets or sets the velocity of the rigid body surface (in local space of the body).
Top
See Also