IVec4Generated
Category: Types
Four integers; see IVec2.
Syntax
Section titled “Syntax”IVec4Description
Section titled “Description”Four integers; see IVec2.
Builtins that take this type
Section titled “Builtins that take this type”| Returns | Function | Category |
|---|---|---|
IVec4 |
abs(x: IVec4) |
math |
IVec4 |
clamp(x: IVec4, low: Int, high: Int) |
math |
IVec4 |
clamp(x: IVec4, low: IVec4, high: IVec4) |
math |
DVec4 |
double(x: IVec4) |
conversion |
Vec4 |
float(x: IVec4) |
conversion |
IVec4 |
int(x: Vec4) |
conversion |
IVec4 |
int(x: DVec4) |
conversion |
IVec4 |
ivec4(x: Int, y: Int, z: Int, w: Int) |
construction |
IVec4 |
ivec4(xyz: IVec3, w: Int) |
construction |
IVec4 |
ivec4(xy: IVec2, zw: IVec2) |
construction |
IVec4 |
max(a: IVec4, b: Int) |
math |
IVec4 |
max(a: IVec4, b: IVec4) |
math |
IVec4 |
min(a: IVec4, b: Int) |
math |
IVec4 |
min(a: IVec4, b: IVec4) |
math |
IVec4 |
sign(x: IVec4) |
math |

