@motion-script/core / WorldTransform
Interface: WorldTransform
Defined in: attributes/layout/world-transform.ts:14
Internal
Properties
bottomCenter
readonlybottomCenter:Vector2
Defined in: attributes/layout/world-transform.ts:24
bottomLeft
readonlybottomLeft:Vector2
Defined in: attributes/layout/world-transform.ts:21
bottomRight
readonlybottomRight:Vector2
Defined in: attributes/layout/world-transform.ts:22
center
readonlycenter:Vector2
Defined in: attributes/layout/world-transform.ts:18
centerLeft
readonlycenterLeft:Vector2
Defined in: attributes/layout/world-transform.ts:25
centerRight
readonlycenterRight:Vector2
Defined in: attributes/layout/world-transform.ts:26
opacity
readonlyopacity:number
Defined in: attributes/layout/world-transform.ts:36
Product of this node's and all ancestors' opacities, in [0, 1] — the
effective alpha the node renders at. Matches the renderer's pass-through
fold: an ancestor at half opacity halves everything beneath it.
rotation
readonlyrotation:number
Defined in: attributes/layout/world-transform.ts:28
Sum of this node's and all ancestors' rotations, in degrees clockwise.
scale
readonlyscale:number
Defined in: attributes/layout/world-transform.ts:30
Product of this node's and all ancestors' scale factors.
topCenter
readonlytopCenter:Vector2
Defined in: attributes/layout/world-transform.ts:23
topLeft
readonlytopLeft:Vector2
Defined in: attributes/layout/world-transform.ts:19
topRight
readonlytopRight:Vector2
Defined in: attributes/layout/world-transform.ts:20
x
readonlyx:number
Defined in: attributes/layout/world-transform.ts:16
World position of the node's center (its x/y origin).
y
readonlyy:number
Defined in: attributes/layout/world-transform.ts:17