C# Class Box2DX.Dynamics.FixtureDef

A fixture definition is used to create a fixture. This class defines an abstract fixture definition. You can reuse fixture definitions safely.
Afficher le fichier Open project: KrugerHeavyIndustries/box2d-unity 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
FixtureDef ( ) : System

The constructor sets the default fixture definition values.

Method Details

FixtureDef() public méthode

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

Property Details

Density public_oe property

The 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 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 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 specific fixture data.
public object UserData
Résultat object