Repository navigation
API Variable Interest
const Interest: object;Defined in: src/engine/net/interest.ts:40
Interest management on a server World (ADR 0121): connections' groups and viewpoints.
groups(connection): readonly string[];The groups a connection is in.
readonly string[]
inGroup(connection, group): boolean;Whether a connection is in a group.
string
boolean
isRelevant(connection, node): boolean;Whether the ghost node is currently sent to connection (as of the last snapshot).
boolean
join(connection, group): void;Put a connection in an interest group: ghosts whose Replicated.group is group become relevant to it.
string
void
leave(connection, group): void;Take a connection out of an interest group.
string
void
setViewer(connection, viewer): void;The node a connection's relevantDistance is measured from (a camera rig, a spectated
player), or null for the default: the root ghosts the connection owns (Replicated.ownerId).
GameObject | null
void
viewer(connection): GameObject | null;The node set with setViewer, or null.
GameObject | null
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