Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/UFXSystemComponent
- UFXSystemComponent::SetEmitterEnable()
- UParticleSystemComponent::SetEmitterEnable()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/ParticleSystemComponent.h |
| Include | #include "Particles/ParticleSystemComponent.h" |
UFUNCTION (BlueprintCallable, Category="Effects|Components|ParticleSystem")
virtual void SetEmitterEnable
(
FName EmitterName,
bool bNewEnableState
)
Remarks
Enables / disables an emitter by halting spawning of new particles. You will still pay the cost of the emitter update.
Parameters
| Name | Description |
|---|---|
| EmitterName | The name of the emitter |
| bNewEnableState | The value to set it to |