file: FixtureDef.aus

class: FixtureDef

[18:7] extends: FxObj

Wraps jbox2d's FixtureDef (com.almasb.fxgl.physics.box2d.dynamics.FixtureDef), the blueprint passed to Body.createFixture. Holds friction, restitution, density, sensor flag, contact filter, shape, and user data. The Kotlin source provides a fluent API (friction(v), restitution(v), ...); the wrapper exposes both the getter/setter pairs and the fluent forms.

Methods