Constructor Channel3DProperties
Channel3DProperties()
A default constructor that sets fields to their suggested values.
Declaration
public Channel3DProperties()
Channel3DProperties(int, int, float, AudioFadeModel)
A constructor that sets all 3D channel properties. For information on recommended values for different 3D scenarios, refer to the Vivox Developer Documentation.
Declaration
public Channel3DProperties(int audibleDistance, int conversationalDistance, float audioFadeIntensityByDistanceaudio, AudioFadeModel audioFadeModel)
Parameters
Type | Name | Description |
---|---|---|
int | audibleDistance | The maximum distance from the listener that a speaker can be heard. Must be > 0 |
int | conversationalDistance | The distance from the listener within which a speaker’s voice is heard at its original volume. Must be >= 0 and <= audibleDistance. |
float | audioFadeIntensityByDistanceaudio | The strength of the audio fade effect as the speaker moves away from the listener. Must be >= 0. This value is rounded to three decimal places. |
AudioFadeModel | audioFadeModel | The model used to determine voice volume at different distances. |