DocsNodesModifiers

Index Switch

Shows one of up to twenty branches, chosen by a number.

variant, pick, choose, select branch, swap, options, modular
Category
Modifiers
Outputs
mesh
Runs live in
Godot, Roblox

The modular asset picker. Wire several variants in and one number decides which appears, so Base Shape as a single named control can swap between a cube, a crystal and a hull.

An index outside the range shows nothing, and an unwired case is a legal empty branch, so a variant can deliberately be nothing at all.

Inputs

SocketTypeWiring
indexvalue, optional
case0geometry, optional
case1geometry, optional
case2geometry, optional
case3geometry, optional
case4geometry, optional
case5geometry, optional
case6geometry, optional
case7geometry, optional
case8geometry, optional
case9geometry, optional
case10geometry, optional
case11geometry, optional
case12geometry, optional
case13geometry, optional
case14geometry, optional
case15geometry, optional
case16geometry, optional
case17geometry, optional
case18geometry, optional
case19geometry, optional

Parameters

NameTypeDefaultAvailable whenWhat it does
Casesnumber2always
Indexnumber0always
Case 0text(empty)always
Case 1text(empty)always
caseName2text(empty)always
caseName3text(empty)always
caseName4text(empty)always
caseName5text(empty)always
caseName6text(empty)always
caseName7text(empty)always
caseName8text(empty)always
caseName9text(empty)always
caseName10text(empty)always
caseName11text(empty)always
caseName12text(empty)always
caseName13text(empty)always
caseName14text(empty)always
caseName15text(empty)always
caseName16text(empty)always
caseName17text(empty)always
caseName18text(empty)always
caseName19text(empty)always

Built with this node

Nothing in the manual is built around this node yet.

See also

  • switchFor a straight either-or rather than a numbered list.
  • randomValueTo pick a variant per copy rather than for the whole graph.

Open the editor and try it