Documentation / Node reference / code nodes

code/ScalarsToVector

Outputs a vector built from separate numbers.

Values

Outputs a vector made of x, y, z and w. outputType sets how many components it has.

Parameters

Name Type What it does
outputType UInt8 BOOL · FLOAT · S8 · S32 · S64 · U8 · U32 · U64 · VECTOR2 · VECTOR3 · VECTOR4 · VECTOR2U32 · VECTOR3U32 · MATRIX4 · LINE3 · RAY3 · PLANE · SAMPLER · TEXTURE_2D · TEXTURE_3D · TRIGGER · WORLD_OBJECT · STRING · ATTRIBUTE_NAMES · ENTITY_TYPE · BOX3 · TEXTURE_3D_FIELD · FLOAT64 · VECTOR2_64 · VECTOR3_64 · VECTOR4_64 · VECTOR4U32 · BUFFER · INTERSECTION Number of components of the vector.
x Float First component.
y Float Second component.
z Float Third component.
w Float Fourth component.

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.