UActorComponent::GetWorld

Getter for the cached world pointer, will return null if the component is not actually spawned in a level

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/ActorComponent.h"

Syntax

virtual UWorld * GetWorld() const

Remarks

Getter for the cached world pointer, will return null if the component is not actually spawned in a level

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