Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Project290
Physics
Collision
Shapes
MassData
C# Class Project290.Physics.Collision.Shapes.MassData
This holds the mass data computed for a shape.
ファイルを表示
Open project: scastle/Solitude
Public Properties
Property
Type
Description
Area
float
Centroid
Microsoft.Xna.Framework.Vector2
Inertia
float
Mass
float
Property Details
Area
public_oe property
The area of the shape
public
float
Area
return
float
Centroid
public_oe property
The position of the shape's centroid relative to the shape's origin.
public
Vector2,Microsoft.Xna.Framework
Centroid
return
Microsoft.Xna.Framework.Vector2
Inertia
public_oe property
The rotational inertia of the shape about the local origin.
public
float
Inertia
return
float
Mass
public_oe property
The mass of the shape, usually in kilograms.
public
float
Mass
return
float