C# Class Box2D.Dynamics.Joints.ConstantVolumeJointDef

Definition for a {@link ConstantVolumeJoint}, which connects a group a bodies together so they maintain a constant volume within them.
Inheritance: JointDef
Show file Open project: gerich-home/box2dnet Class Usage Examples

Public Properties

Property Type Description
DampingRatio float
FrequencyHz float

Public Methods

Method Description
AddBody ( Body argBody ) : void

Adds a body to the group

AddBodyAndJoint ( Body argBody, DistanceJoint argJoint ) : void

Adds a body and the pre-made distance joint. Should only be used for deserialization.

ConstantVolumeJointDef ( ) : System.Collections.Generic

Method Details

AddBody() public method

Adds a body to the group
public AddBody ( Body argBody ) : void
argBody Body
return void

AddBodyAndJoint() public method

Adds a body and the pre-made distance joint. Should only be used for deserialization.
public AddBodyAndJoint ( Body argBody, DistanceJoint argJoint ) : void
argBody Body
argJoint DistanceJoint
return void

ConstantVolumeJointDef() public method

public ConstantVolumeJointDef ( ) : System.Collections.Generic
return System.Collections.Generic

Property Details

DampingRatio public property

public float DampingRatio
return float

FrequencyHz public property

public float FrequencyHz
return float