Funzione statica
NanosMath.ClampAxis
Clamps an angle to the range of [0, 360]
Non ancora tradotto
Sintassi
NanosMath.ClampAxis(value)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
value
|
number | — | The number to be clamped |
Valore restituito
- number the number clamped
Esempi
local axis = NanosMath.ClampAxis(720)