syncTransforms
syncTransforms(
world,fraction?):void
Defined in: packages/engine/src/gameplay/entity/transform.ts:113
Writes each entity onto its object, fraction of the way from where the
previous step left it to where the last one did. The picture is one step
behind the world and moves smoothly at any frame rate. A streamed entity
is drawn by syncStreamedTransforms instead.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
world |
World |
undefined |
fraction |
number |
1 |
Returns
Section titled “Returns”void