AActor::GetWorld

Syntax

virtual UWorld * GetWorld() const

Remarks

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

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp