Attention: Here be dragons (unstable version)

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Redot.

VisualShaderNodeVectorDecompose

Inherits: VisualShaderNodeVectorBase < VisualShaderNode < Resource < RefCounted < Object

Decomposes a Vector2, Vector3 or 4D vector (represented as a Quaternion) into scalars within the visual shader graph.

Description

Takes a vec2, vec3 or vec4 and decomposes it into scalar values that can be used as separate outputs.