UActorComponent::SetAutoActivate

Sets whether the component should be auto activate or not. Only safe during construction scripts.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h

Include

#include "Components/ActorComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/ActorComponent.cpp

Syntax

virtual void SetAutoActivate
(
    bool bNewAutoActivate
)

Remarks

Sets whether the component should be auto activate or not. Only safe during construction scripts.

Parameters

Parameter

Description

bNewAutoActivate

The new auto activate state of the component

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