UActorComponent::SetActiveFlag

Sets the value of bIsActive without causing other side effects to this instance.

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

void SetActiveFlag
(
    const bool bNewIsActive
)

Remarks

Sets the value of bIsActive without causing other side effects to this instance.

Activate, Deactivate, and SetActive are preferred in most cases because they respect virtual behavior.

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