MassDensity Members

Microsoft Robotics Class Reference

The MassDensity type exposes the following members.

Constructors

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

Methods

  Name Description
Public method Clone
Clones MassDensity
Public method CopyTo
Copies the data member values of the current MassDensity to the specified target object
Public method Deserialize
Deserializes MassDensity
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 MassDensity to the specified writer
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property AngularDamping
Anglular damping applied to body
Public property CenterOfMass
Optional override for the center of mass. It specifies offset and orientation (from the default), in the local coordinate frame of the entity. If not set, physics will calculate the center of mass from the shape descriptions
Public property Density
Optional density (SI units) of the shape. Density should not be specified if mass is specified
Public property InertiaTensor
Diagonal mass space inertia tensor in bodies mass frame. Physics will compute if all zeroes
Public property LinearDamping
Linear damping applied to body
Public property Mass
Mass in SI units for the shape. If density is specified, dont set Mass, it will be calculated
Public property MassLocalPose
MassLocalPose is simply a transformation applied to the diagonal inertia to move it away from its default pose (centered on the origin with no rotation).

See Also

MassDensity Class

Microsoft.Robotics.Simulation.Physics.Proxy Namespace