Skip to main content
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

PropertyDesciption
MaxDistanceThe maximum distance which a player in the channel can be heard. [0-inf]
MinDistanceThe minimum distance which a player in the channel can be heard. [0-inf]
SpatialBlendSimilar to spatialBlend in audio source, the value defines if the audio is 2D (SpatialBlend=0) or 3D (SpatialBlend=1) [0-1]
VolumeThe volume of the audio. [0-1]
DefaultDefault audio channel policy

Constructors

ConstructorDescription
MLAudioChannelPolicy()Creates a new MLAudioChannelPolicy
MLAudioChannelPolicy(float, float, float, float)Creates a new MLAudioChannelPolicy