unreal.PCGSwitchSettings
¶
- class unreal.PCGSwitchSettings(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
PCGSettings
Routes data from the input pin, to a specific output pin based on a selection criteria (Int/String/Enum)
C++ Source:
Plugin: PCG
Module: PCG
File: PCGSwitch.h
Editor Properties: (see get_editor_property/set_editor_property)
break_debugger
(bool): [Read-Write] If a debugger is attached, triggers a breakpoint inside IPCGElement::Execute(). Editor only. Transient.category
(Text): [Read-Write]debug
(bool): [Read-Write]debug_settings
(PCGDebugVisualizationSettings): [Read-Write]description
(Text): [Read-Write]determinism_settings
(PCGDeterminismSettings): [Read-Write]enabled
(bool): [Read-Write]enum_selection
(EnumSelector): [Read-Write] Determines which output pin will be selected if the selection mode is Enum.expose_to_library
(bool): [Read-Write]int_options
(Array[int32]): [Read-Write] Determines the available output pin selection options.integer_selection
(int32): [Read-Write] Determines which output will be selected if the selection mode is Integer.seed
(int32): [Read-Write]selection_mode
(PCGControlFlowSelectionMode): [Read-Write] Determines the type of value to be used to select an output.string_options
(Array[str]): [Read-Write] Determines the available output pin selection options.string_selection
(str): [Read-Write] Determines which output will be selected if the selection mode is String.use_seed
(bool): [Read-Only] By default, settings won’t use a seed. Set this bool to true in the child ctor to allow edition and use it.
- property enum_selection: EnumSelector¶
[Read-Write] Determines which output pin will be selected if the selection mode is Enum.
- Type:
- property int_options: None¶
[Read-Write] Determines the available output pin selection options.
- Type:
(Array[int32])
- property integer_selection: int¶
[Read-Write] Determines which output will be selected if the selection mode is Integer.
- Type:
(int32)
- property selection_mode: PCGControlFlowSelectionMode¶
[Read-Write] Determines the type of value to be used to select an output.
- Type: