MLAudioChannelPolicy(number volume, number spatialBlend, number minDistance, number maxDistance)
Creates a new MLAudioChannelPolicy
Parameters:
Name | Type | Description |
---|---|---|
volume | number | The volume |
spatialBlend | number | Spatial Blend |
minDistance | number | minDistance |
maxDistance | number | maxDistance |
Usage
---@type number
local volume;
---@type number
local spatialBlend;
---@type number
local minDistance;
---@type number
local maxDistance;
local mlaudiochannelpolicy = MLAudioChannelPolicy(volume, spatialBlend, minDistance, maxDistance);