Repository navigation
API Interface ShakeImpulse
Defined in: src/plugins/camera-shake/runtime/buffers.ts:11
readonly channel?: string;Defined in: src/plugins/camera-shake/runtime/buffers.ts:27
The channel; "" (default) is heard by every listener.
readonly dissipationDistance?: number;Defined in: src/plugins/camera-shake/runtime/buffers.ts:23
Beyond radius the strength falls to zero over this distance. Default 100.
readonly duration?: number;Defined in: src/plugins/camera-shake/runtime/buffers.ts:19
Seconds; default the preset's.
readonly position: Vec3Input;Defined in: src/plugins/camera-shake/runtime/buffers.ts:13
Where it starts, in world space.
readonly preset?: "recoil" | "bump" | "explosion" | "rumble";Defined in: src/plugins/camera-shake/runtime/buffers.ts:17
Its shape. Default "bump".
readonly propagationSpeed?: number;Defined in: src/plugins/camera-shake/runtime/buffers.ts:25
World units a second it travels outward; 0 (default) reaches every listener at once.
readonly radius?: number;Defined in: src/plugins/camera-shake/runtime/buffers.ts:21
Full strength within this distance. Default 0.
readonly velocity: Vec3Input;Defined in: src/plugins/camera-shake/runtime/buffers.ts:15
Its direction times its force (force 1 moves the view about 0.25 world units).
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference