Skip to content

Vect3

Represents a 3 component luau vector.

There is an optional coord parameter representing each coordinate (x, y, z) which defaults to f32. It is worth noting that an f64 Datatype's precision won't apply here, so f32 is always be better for vectors.

function light.datatypes.vect3

Shared Synchronous
1
2
3
function vect3(
    coord: Datatype<number>?
): Datatype<vector>