Click or drag to resize
DigitalRuneUniformMaterial Class
Defines a IMaterial with constant material properties for the whole rigid body.
Inheritance Hierarchy
SystemObject
  DigitalRune.Physics.MaterialsUniformMaterial

Namespace: DigitalRune.Physics.Materials
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public class UniformMaterial : IMaterial, 
	INamedObject

The UniformMaterial type exposes the following members.

Constructors
  NameDescription
Public methodUniformMaterial
Initializes a new instance of the UniformMaterial class.
Public methodUniformMaterial(String)
Initializes a new instance of the UniformMaterial class.
Public methodUniformMaterial(UniformMaterial)
Initializes a new instance of the UniformMaterial class from a given material.
Public methodUniformMaterial(String, MaterialProperties)
Initializes a new instance of the UniformMaterial class from a given material.
Public methodUniformMaterial(String, Boolean)
Initializes a new instance of the UniformMaterial class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetProperties
Gets the MaterialProperties for the given rigid body, position and shape feature.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDynamicFriction
Gets or sets the dynamic friction (kinetic friction) coefficient.
Public propertyName
Gets or sets the name of the material.
Public propertyRestitution
Gets or sets the coefficient of restitution (bounciness).
Public propertyStaticFriction
Gets or sets the static friction coefficient.
Public propertySupportsSurfaceMotion
Gets 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