Skip to content

Type Alias: TXR_sound_object_type

ts
type TXR_sound_object_type = EnumeratedStaticsValues<typeof sound_object>;

Playback mode flag accepted by sound_object.play() and play_at_pos().

Source

src/xrGame/script_sound_script.cpp, sound_object.sound_play_type enum.

Remarks

sound_object.looped keeps playback active until stopped, sound_object.s2d plays in screen space, and sound_object.s3d leaves playback spatial.