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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback