set_animation
Modify animation mixer time scale, action weight, and control play, stop, or pause for Three.js scenes. Runtime changes only; verify with user whether to also update source code.
Instructions
Control animation: mixer timeScale, action play/stop/pause/weight. Runtime only — for testing.
Runtime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mixerIndex | No | Mixer index (default: 0) | |
| timeScale | No | Mixer global time scale | |
| time | No | Mixer current time | |
| clipName | No | Target action by clip name | |
| actionWeight | No | Action weight (0-1) | |
| actionTimeScale | No | Action time scale | |
| actionPaused | No | Pause/unpause action | |
| play | No | Play the action | |
| stop | No | Stop the action |