Mathf.NextPowerOfTwostatic function NextPowerOfTwo (value : int) : intDescriptionReturns the next power of two value
JavaScript
// prints 8 using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > Mathf | ||||
Mathf.NextPowerOfTwostatic function NextPowerOfTwo (value : int) : intDescriptionReturns the next power of two value
JavaScript
// prints 8 using UnityEngine; import UnityEngine |