Skip to content

TextureObjectSwitch

Object Switch#

(TextureObjectSwitch)

  • Category: Texture/Utility
  • Default object name: object_switch

Go to Technical page.

Description#

Switch between two colors, based on wether the current scene object is part of a given geometry set or not.

Attributes#

Name Type Description
Pass Through bool If checked, the current texture is not evaluated and the value of the attribute selected in Pass Through Attribute is directly forwarded.
Master Input string Name of the attribute that will be used as output if Pass Through is enabled.
Invert bool If checked, the texture is inverted.
Opacity double Set the opacity of the texture.
Default Color double[3] Color for everything not included in the three groups geometry lists below.
Enable Group 1 bool Enables/disables the first group.
Group 1 Color double[3] Color for everything included in the first group geometry list.
Group 1 Geometry reference (SceneObject) First list of geometries: each element can either be an actual geometry, or group of geometries.
Enable Group 2 bool Enables/disables the second group.
Group 2 Color double[3] Color for everything included in the second group geometry list.
Group 2 Geometry reference (SceneObject) Second list of geometries: each element can either be an actual geometry, or group of geometries.
Enable Group 3 bool Enables/disables the third group.
Group 3 Color double[3] Color for everything included in the third group geometry list.
Group 3 Geometry reference (SceneObject) Third list of geometries: each element can either be an actual geometry, or group of geometries.