unreal.TG_Expression_IfThenElse

class unreal.TG_Expression_IfThenElse(outer: Object | None = None, name: Name | str = 'None')

Bases: TG_Expression_Variant

Expression

C++ Source:

  • Plugin: TextureGraph

  • Module: TextureGraph

  • File: TG_Expression_IfThenElse.h

Editor Properties: (see get_editor_property/set_editor_property)

  • comparison_type (IfThenElseType): [Read-Write] The type of comparison to use. Individual = IndividualComponent of the components are individually passed through the comparison. AllComponents = All components must succeed check to trigger the Then part of the statement. Magnitude = Grayscale value of the color is used in comparison

  • operator (IfThenElseOperator): [Read-Write] The type of operator in LHS <operator> RHS

  • output (TG_Variant): [Read-Write]

property comparison_type: IfThenElseType

[Read-Write] The type of comparison to use. Individual = IndividualComponent of the components are individually passed through the comparison. AllComponents = All components must succeed check to trigger the Then part of the statement. Magnitude = Grayscale value of the color is used in comparison

Type:

(IfThenElseType)

property operator: IfThenElseOperator

[Read-Write] The type of operator in LHS <operator> RHS

Type:

(IfThenElseOperator)