UNiagaraComponent::SetUseAutoManageAttachment

Sets whether we should automatically attach to AutoAttachParent when activated, and detach from our parent when completed.

Windows
MacOS
Linux

Override Hierarchy

UFXSystemComponent::SetUseAutoManageAttachment()

UNiagaraComponent::SetUseAutoManageAttachment()

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraComponent.h

Include

#include "NiagaraComponent.h"

Syntax

virtual void SetUseAutoManageAttachment
(
    bool bAutoManage
)

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.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss