IrrKlang.NET

ISoundEngine.SetRolloffFactorMethod

Sets the roll off factor for 3d sounds.

[VisualBasic]
PublicSubSetRolloffFactor( _
ByVal rolloffFactorAsSingle_
)
[C#]
publicvoidSetRolloffFactor(
floatrolloffFactor
);

Parameters

rolloffFactor
The rolloff factor can range from 0.0 to 10.0, where 0 is no rolloff. 1.0 is the default rolloff factor set, the value which we also experience in the real world. A value of 2 would mean twice the real-world rolloff.

See Also

ISoundEngine Class | IrrKlang Namespace