Parameters
| Name | Description | Default |
|---|---|---|
world | World whose 2D transform entities are synchronized. | — |
Function
synctransform2D(world: World): voidSynchronizes local 2D transform components into each entity’s
GlobalTransform2D.
The query requires Position2D, Orientation2D,
Scale2D, and GlobalTransform2D on the same entity. For
every match, GlobalTransform2D.compose writes the local position,
orientation, and scale into the existing global transform. This system does
not traverse the hierarchy; use propagateTransform2D for parent
propagation. The transform plugin registers it in the repeating Update
schedule before that propagation system.