C# Класс FarseerPhysics.Collision.Shapes.MassData

This holds the mass data computed for a shape.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Center Microsoft.Xna.Framework.Vector2
Inertia float
Mass float

Описание свойств

Center публичное свойство

The position of the shape's centroid relative to the shape's origin.
public Vector2,Microsoft.Xna.Framework Center
Результат Microsoft.Xna.Framework.Vector2

Inertia публичное свойство

The rotational inertia of the shape about the local origin.
public float Inertia
Результат float

Mass публичное свойство

The mass of the shape, usually in kilograms.
public float Mass
Результат float