C# Class Box2DX.Collision.ShapeDef

Afficher le fichier Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Méthodes publiques

Свойство Type Description
Density float
Filter FilterData
Friction float
IsSensor bool
Restitution float
Type ShapeType
UserData object

Méthodes publiques

Méthode Description
ShapeDef ( ) : System

The constructor sets the default shape definition values.

Method Details

ShapeDef() public méthode

The constructor sets the default shape definition values.
public ShapeDef ( ) : System
Résultat System

Property Details

Density public_oe property

The shape's density, usually in kg/m^2.
public float Density
Résultat float

Filter public_oe property

Contact filtering data.
public FilterData Filter
Résultat FilterData

Friction public_oe property

The shape's friction coefficient, usually in the range [0,1].
public float Friction
Résultat float

IsSensor public_oe property

A sensor shape collects contact information but never generates a collision response.
public bool IsSensor
Résultat bool

Restitution public_oe property

The shape's restitution (elasticity) usually in the range [0,1].
public float Restitution
Résultat float

Type public_oe property

Holds the shape type for down-casting.
public ShapeType Type
Résultat ShapeType

UserData public_oe property

Use this to store application specify shape data.
public object UserData
Résultat object