Houdini 20.5 Nodes APEX nodes

SwitchByName<T>

Switches between different input values based on the name of the input port.

On this page
Since 20.0

Returns the value of the input whose subport name is name. If name is not a valid subport, the first input is returned.

Inputs

input: VariadicArg<ApexChannel>, VariadicArg<ApexChannelCollection>, VariadicArg<Bool>, VariadicArg<Float>, VariadicArg<Geometry>, VariadicArg<Int>, VariadicArg<Matrix3>, VariadicArg<Matrix4>, VariadicArg<String>, VariadicArg<Vector2>, VariadicArg<Vector3>, VariadicArg<Vector4>

A variadic input of different subport values.

name: String

The name of the input subport whose value to return.

Outputs

out: ApexChannel, ApexChannelCollection, Bool, Float, Geometry, Int, Matrix3, Matrix4, String, Vector2, Vector3, Vector4

A copy of the input value whose subport name is name.

See also

APEX nodes