file: TransformComponent.aus

class: TransformComponent

[21:7] extends: Component

Wraps FXGL's TransformComponent (com.almasb.fxgl.entity.components.TransformComponent), the core component that holds an entity's position, rotation, scale, and pivot origins in both 2D and 3D space. Reachable through Entity.getComponent("com.almasb.fxgl.entity.components.TransformComponent") or as the raw AJO behind Entity.setX / Entity.setRotation / etc. Exposes value get/set pairs, the underlying JavaFX DoubleProperty handles for binding, and the translate / rotateBy / lookAt convenience methods.

Methods