unreal.NiagaraEventHandlerAddAction
¶
- class unreal.NiagaraEventHandlerAddAction(mode: NiagaraEventHandlerAddMode = Ellipsis, add_event_generator_options: NiagaraAddEventGeneratorOptions = Ellipsis, execution_mode: ScriptExecutionMode = Ellipsis, spawn_number: int = 0, max_events_per_frame: int = 0, source_event_name: Name = 'None', random_spawn_number: bool = False, min_spawn_number: int = 0)¶
Bases:
StructBase
Niagara Event Handler Add Action
C++ Source:
Plugin: CascadeToNiagaraConverter
Module: CascadeToNiagaraConverter
File: NiagaraStackGraphUtilitiesAdapterLibrary.h
Editor Properties: (see get_editor_property/set_editor_property)
add_event_generator_options
(NiagaraAddEventGeneratorOptions): [Read-Write]execution_mode
(ScriptExecutionMode): [Read-Write] Controls which particles have the event script run on them.max_events_per_frame
(int32): [Read-Write] Controls how many events are consumed by this event handler. If there are more events generated than this value, they will be ignored.min_spawn_number
(int32): [Read-Write] The minimum spawn number when random spawn is used. Spawn Number is used as the maximum range.mode
(NiagaraEventHandlerAddMode): [Read-Write]random_spawn_number
(bool): [Read-Write] Whether using a random spawn number.source_event_name
(Name): [Read-Write] The name of the event generated. This will be “Collision” for collision events and the Event Name field on the DataSetWrite node in the module graph for others.spawn_number
(int32): [Read-Write] Controls whether or not particles are spawned as a result of handling the event. Only valid for EScriptExecutionMode::SpawnedParticles. If Random Spawn Number is used, this will act as the maximum spawn range.
- property add_event_generator_options: NiagaraAddEventGeneratorOptions¶
[Read-Write]
- Type:
- property execution_mode: ScriptExecutionMode¶
[Read-Write] Controls which particles have the event script run on them.
- Type:
- property max_events_per_frame: int¶
[Read-Write] Controls how many events are consumed by this event handler. If there are more events generated than this value, they will be ignored.
- Type:
(int32)
- property min_spawn_number: int¶
[Read-Write] The minimum spawn number when random spawn is used. Spawn Number is used as the maximum range.
- Type:
(int32)
- property mode: NiagaraEventHandlerAddMode¶
[Read-Write]
- Type: