MLAudioChannelPolicy
Type describing the audio settings for an in-room audio channel.
Members
Properties
Name | Description |
---|---|
MLAudioChannelPolicy .MaxDistance | The maximum distance which a player in the channel can be heard. [0-inf] |
MLAudioChannelPolicy .MinDistance | The minimum distance which a player in the channel can be heard. [0-inf] |
MLAudioChannelPolicy .SpatialBlend | Similar to spatialBlend in audio source, the value defines if the audio is 2D (SpatialBlend=0) or 3D (SpatialBlend=1) [0-1] |
MLAudioChannelPolicy .Volume | The volume of the audio. [0-1] |
Constructor
Name | Description |
---|---|
MLAudioChannelPolicy() | Creates a new MLAudioChannelPolicy |
MLAudioChannelPolicy(volume, spatialBlend, minDistance, maxDistance) | Creates a new MLAudioChannelPolicy |