Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UActorComponent
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 |
virtual void SetActive
&40;
bool bNewActive,
bool bReset
&41;
Remarks
Sets whether the component is active or not
Parameters
| Name | Description |
|---|---|
| bNewActive | The new active state of the component |
| bReset | Whether the activation should happen even if ShouldActivate returns false. |