Repository navigation
API Interface ActionEvent
Defined in: src/engine/input/actions.ts:300
One action phase change this frame (ActionEvents): a local player's, from the evaluator, or a
networked pawn's, derived from the tick's phase flags when a server writes a client's actions
onto it (ADR 0337).
readonly action: string;Defined in: src/engine/input/actions.ts:308
readonly index: number;Defined in: src/engine/input/actions.ts:306
The local player's index (on a server, the index of the client's local player driving the pawn).
readonly node: GameObject;Defined in: src/engine/input/actions.ts:304
The node whose action set changed: the local player's node, or the server's pawn.
readonly phase: ActionEventPhase;Defined in: src/engine/input/actions.ts:309
readonly player: GameObject;Defined in: src/engine/input/actions.ts:302
The local player's node; for a pawn a network server drives, the owning connection's node (net.Connection).
readonly set: ActionSetDef;Defined in: src/engine/input/actions.ts:307
readonly value: number;Defined in: src/engine/input/actions.ts:311
The action's value then (a vector's length; x, y, z hold its components).
readonly x: number;Defined in: src/engine/input/actions.ts:312
readonly y: number;Defined in: src/engine/input/actions.ts:313
readonly z: number;Defined in: src/engine/input/actions.ts:314
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