音量与距离算法
pow(distance / refDistance, -rolloffFactor)
refDistance / (refDistance + rolloffFactor * (distance - refDistance))
1 - rolloffFactor * (distance - refDistance) / (maxDistance - refDistance)
Generated using TypeDoc
音量与距离算法
See