Mathf.Logstatic function Log (f : float, p : float) : floatDescriptionReturns the logarithm of a specified number in a specified base.
JavaScript
// logarithm of 6 in base 2 using UnityEngine; import UnityEngine static function Log (f : float) : floatDescriptionReturns the natural (base e) logarithm of a specified number.
JavaScript
// natural logarithm of 10 using UnityEngine; import UnityEngine |
