Skip to content

@modoki/engine / index / getRig2D

Function: getRig2D() ​

getRig2D(ref): ParsedRig2D | null

Resolve a rig ref to its parsed rig, or null if not yet loaded. Kicks off a lazy fetch on first miss (retried each frame by the caller).

Parameters ​

ref ​

string

Returns ​

ParsedRig2D | null

Built with Modoki.