Skip to content

YaSoundSetting

Beta
YaSoundSetting

Properties

number PriorityBeta
The priority of the audio source. Priority is an integer between 0 and 255, where 0 is the highest priority and 255 is the lowest priority.
number VolumeBeta
The volume of the audio source (0.0 to 1.0).
number PitchBeta
The pitch of the audio source.
number SpatialBlendBeta
Sets how much this audio source is affected by 3D spatialisation calculations (attenuation, doppler etc). 0.0 makes the sound full 2D and 1.0 makes it full 3D.
number ReverbZoneMixBeta
The amount by which the signal from the AudioSource will be mixed into the global reverb associated with the Reverb Zones.
number DopplerLevelBeta
Sets the doppler scale for this audio source.
AudioRolloffMode RolloffModeBeta
Sets/Gets how the audio source attenuates over distance.
number MinDistanceBeta
The minimum distance within which the audio source ceases to grow louder in volume.
number MaxDistanceBeta
The distance a sound stops attenuating at.