C# 클래스 FarseerPhysics.Collision.Shapes.MassData

This holds the mass data computed for a shape.
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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