namespace ML.SDK
Class | Sealed
MLAudioChannelPolicy
namespace ML.SDK
{
sealed class MLAudioChannelPolicy
}
Summary
A class describing the audio settings for an in-room audio channel.
Properties
Property | Desciption |
---|---|
MaxDistance | The maximum distance which a player in the channel can be heard. [0-inf] |
MinDistance | The minimum distance which a player in the channel can be heard. [0-inf] |
SpatialBlend | Similar to spatialBlend in audio source, the value defines if the audio is 2D (SpatialBlend=0) or 3D (SpatialBlend=1) [0-1] |
Volume | The volume of the audio. [0-1] |
Default | Default audio channel policy |
Constructors
Constructor | Description |
---|---|
MLAudioChannelPolicy() | Creates a new MLAudioChannelPolicy |
MLAudioChannelPolicy(float, float, float, float) | Creates a new MLAudioChannelPolicy |