JavaScript API
animation
22 members
- animation.create(id, prop, fps, "float"|"vector3"|"color3"|"quaternion")
- animation.setKeys(id, [{frame, value}])
- animation.setEasing(id, "linear"|"quad"|"cubic"|"sine"|"elastic"|"bounce"|"back")
- animation.play(meshId, animId, from, to, loop?)
- animation.stop(meshId)
- animation.stopAll()
- animation.listGroups()
- animation.listEntityGroups(id)
- animation.playGroup(name, { loop, speed, from, to, weight, blending, blendingSpeed })
- animation.stopGroup(name)
- animation.setGroupWeight(name, w)
- animation.crossFadeGroups(from, to, duration, loop?)
- animation.makeAdditive(name)
- animation.createMask(bones)
- animation.setGroupMask(name, bones)
- animation.retarget(targetId, sourceAnim, { boneMap, fixRootPosition })
- animation.createAnimator(entityId)
- animation.playState(entityId, state, layer?)
- animation.crossFadeState(entityId, state, duration, layer?)
- animation.getStateInfo(entityId, layer?)
- animation.isTransitioning(entityId, layer?)
- animation.createLocomotionController(id, idleClip, walkClip, runClip?)