FarseerPhysics.Dynamics.Fixture.GetMassData C# (CSharp) Method

GetMassData() public method

Get the mass data for this fixture. The mass data is based on the density and the Shape. The rotational inertia is about the Shape's origin.
public GetMassData ( MassData &massData ) : void
massData FarseerPhysics.Collision.Shapes.MassData The mass data.
return void
        public void GetMassData(out MassData massData)
        {
            Shape.ComputeMass(out massData, Density);
        }