Share via


MaterialProperties Members

Microsoft Robotics Class Reference

The MaterialProperties type exposes the following members.

Constructors

  Name Description
Public method MaterialProperties
Initializes a new instance of the MaterialProperties class

Methods

  Name Description
Public method Clone
Clones MaterialProperties
Public method CopyTo
Copies the data member values of the current MaterialProperties to the specified target object
Public method Deserialize
Deserializes MaterialProperties
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Serialize
Serializes the data member values of the current MaterialProperties to the specified writer
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Advanced
Advanced optional properties
Public property DynamicFriction
Dynamic friction coefficient. Must be less than 1.0 and static friction;
Public property MaterialIndex
Identifier for material. If supplied on creation, physics engine will look up material and re-use instance
Public property Name
Name for material. Named materials can be cached and re-used
Public property Restitution
Restitution coefficient. Smaller values, less bounce.
Public property StaticFriction
Static friction coefficient. Must be larger than dynamic friction. It can be larger than 1.0

See Also

MaterialProperties Class

Microsoft.Robotics.Simulation.Physics.Proxy Namespace