Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
FarseerPhysics
Collision
Shapes
MassData
C# Class FarseerPhysics.Collision.Shapes.MassData
This holds the mass data computed for a shape.
Show file
Open project: scastle/Solitude
Class Usage Examples
Public Properties
Property
Type
Description
Center
Microsoft.Xna.Framework.Vector2
Inertia
float
Mass
float
Property Details
Center
public property
The position of the shape's centroid relative to the shape's origin.
public
Vector2,Microsoft.Xna.Framework
Center
return
Microsoft.Xna.Framework.Vector2
Inertia
public property
The rotational inertia of the shape about the local origin.
public
float
Inertia
return
float
Mass
public property
The mass of the shape, usually in kilograms.
public
float
Mass
return
float