Skip to content

five-on-it / apps/tools/src/frame / worldFrame

Function: worldFrame() ​

worldFrame(n, doc): Frame

Defined in: apps/tools/src/frame.ts:55

The world transform of a node, composed through its parents. Every parent must be unscaled: a scaled group would shear its rotated children into something that is no longer a box. A missing parent is an error too.

Parameters ​

n ​

SceneNodeDoc

doc ​

SceneDoc

Returns ​

Frame