C# Class FarseerPhysics.Collision.Shapes.MassData

This holds the mass data computed for a shape.
Afficher le fichier Open project: scastle/Solitude Class Usage Examples

Méthodes publiques

Свойство Type Description
Center Microsoft.Xna.Framework.Vector2
Inertia float
Mass float

Property Details

Center public_oe property

The position of the shape's centroid relative to the shape's origin.
public Vector2,Microsoft.Xna.Framework Center
Résultat Microsoft.Xna.Framework.Vector2

Inertia public_oe property

The rotational inertia of the shape about the local origin.
public float Inertia
Résultat float

Mass public_oe property

The mass of the shape, usually in kilograms.
public float Mass
Résultat float