Skip to content

@modoki/engine / index / setAnimationClip

Function: setAnimationClip() ​

setAnimationClip(refOrPath, def): void

Directly seed/override a cached clip by path or GUID (editor live-preview + post-save).

Parameters ​

refOrPath ​

string

def ​

AnimationClipDef

Returns ​

void

Built with Modoki.