Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > UFXSystemComponent
- UFXSystemComponent::SetUseAutoManageAttachment()
- UNiagaraComponent::SetUseAutoManageAttachment()
- UParticleSystemComponent::SetUseAutoManageAttachment()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/ParticleSystemComponent.h |
Include | #include "Particles/ParticleSystemComponent.h" |
virtual void SetUseAutoManageAttachment
&40;
bool bAutoManage
&41;
Remarks
Sets whether we should automatically attach to AutoAttachParent when activated, and detach from our parent when completed. This overrides any current attachment that may be present at the time of activation (deferring initial attachment until activation, if AutoAttachParent is null). When enabled, detachment occurs regardless of whether AutoAttachParent is assigned, and the relative transform from the time of activation is restored. This also disables attachment on dedicated servers, where we don't actually activate even if bAutoActivate is true.