Hearing beta
Interface of @v12-engine/client
ts
export interface HearingHow far sounds carry: beyond range from the listener nothing is heard, at side to one side it is all the way there
Members
mode
ts
mode?: HearingMode;How a sound's direction is heard: stereo to the left or right (cheap, the default), or hrtf around the head, in front and behind too, a PannerNode each sound (best over headphones; it costs CPU for every sound playing, see docs/sound.md)
range
ts
range?: number;How far a sound carries, in cells: HEARING when left out
side
ts
side?: number;How far to a side a sound is all the way left or right of the listener, in cells: SIDE when left out