Repository navigation
API Interface ActionEvent
Defined in: src/engine/input/actions.ts:340
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:348
readonly index: number;Defined in: src/engine/input/actions.ts:346
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:344
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:349
readonly player: GameObject;Defined in: src/engine/input/actions.ts:342
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:347
readonly value: number;Defined in: src/engine/input/actions.ts:351
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:352
readonly y: number;Defined in: src/engine/input/actions.ts:353
readonly z: number;Defined in: src/engine/input/actions.ts:354
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