ShapeConfig class
A shape configuration holds common configuration data for constructing a shape. These configurations can be reused safely.
Constructors
Properties
- belongsTo ↔ int
-
bits of the collision groups to which the shape belongs.
getter/setter pair
- collidesWith ↔ int
-
bits of the collision groups with which the shape collides.
getter/setter pair
- density ↔ double
-
density of the shape.
getter/setter pair
- friction ↔ double
-
coefficient of friction of the shape.
getter/setter pair
- geometry ↔ Shapes
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- relativePosition ↔ Vec3
-
position of the shape in parent's coordinate system.
getter/setter pair
- relativeRotation ↔ Mat33
-
rotation matrix of the shape in parent's coordinate system.
getter/setter pair
- restitution ↔ double
-
coefficient of restitution of the shape.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited