| RigidBody Constructor (Shape, MassFrame, IMaterial) |
Initializes a new instance of the
RigidBody class.
Namespace: DigitalRune.PhysicsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public RigidBody(
Shape shape,
MassFrame massFrame,
IMaterial material
)
Public Sub New (
shape As Shape,
massFrame As MassFrame,
material As IMaterial
)
public:
RigidBody(
Shape^ shape,
MassFrame^ massFrame,
IMaterial^ material
)
new :
shape : Shape *
massFrame : MassFrame *
material : IMaterial -> RigidBody
Parameters
- shape
- Type: DigitalRune.Geometry.ShapesShape
The shape. Can be to use the default Shape.
- massFrame
- Type: DigitalRune.PhysicsMassFrame
The mass frame. Can be in which case the mass properties for a
density of 1000 are used.
- material
- Type: DigitalRune.Physics.MaterialsIMaterial
The material. Can be to use the default Material.
See Also