Developer Documentation

Set Room Position Scale

Set Room Position Scale

Sets the multiplicative scale for all coordinates used in position updates. Use this as the maximum radius in which a peer can be heard. The scale value is used to optimize audio streams by not streaming audio data to peer’s that are outside of hearing range.

Important

The position scale should be set to the same value for all peers in the ODIN room. The scale value also has to be set individually for each room that will utilize ODIN’s optimization feature.

Inputs

NameTypeDescription
Execexec
TargetRoomThe room for which the scale should be set.
ScalefloatThe value of the scale as float.

Outputs

NameTypeDescription
Execexec