builtin
22 native definitions. Call through
natives.builtin or natives.BUILTIN.22 definitions
| Function | Returns | Parameters | Native hash |
|---|---|---|---|
ceil | int | value: float | |
cos | float | value: float | |
floor | int | value: float | |
log10 | float | value: float | |
pow | float | base: float, exponent: float | |
round | int | value: float | |
set_this_thread_priority | void | priority: int | |
settimera | void | value: int | |
settimerb | void | value: int | |
shift_left | int | value: int, bitShift: int | |
shift_right | int | value: int, bitShift: int | |
sin | float | value: float | |
sqrt | float | value: float | |
timera | int | — | |
timerb | int | — | |
timestep | float | — | |
to_float | float | value: int | |
vdist | float | x1: float, y1: float, z1: float, x2: float, y2: float, z2: float | |
vdist2 | float | x1: float, y1: float, z1: float, x2: float, y2: float, z2: float | |
vmag | float | x: float, y: float, z: float | |
vmag2 | float | x: float, y: float, z: float | |
wait | void | ms: int |
Generated declarations; individual native behaviour may be undocumented. See argument and result mapping before calling a native.