![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ActorInstanceHandle.h>
Static Public Member Functions | |
| static ENGINE_API FActorInstanceHandle | MakeDehydratedActorHandle (UObject &Manager, int32 InInstanceIndex) |
| static ENGINE_API FActorInstanceHandle | MakeActorHandleToResolve (const TWeakObjectPtr< UPrimitiveComponent > &WeakComponent, int32 CollisionInstanceIndex) |
Friends | |
| struct | FActorInstanceHandleInternalHelper |
| ENGINE_API uint32 | GetTypeHash (const FActorInstanceHandle &Handle) |
| ENGINE_API FArchive & | operator<< (FArchive &Ar, FActorInstanceHandle &Handle) |
Handle to a unique object. This may specify a full weigh actor or it may only specify the actor instance that represents the same object.
Can only be used on the game thread
Can be used on any thread
|
default |
|
explicit |
| FActorInstanceHandle::FActorInstanceHandle | ( | const UPrimitiveComponent * | RelevantComponent, |
| int32 | CollisionInstanceIndex | ||
| ) |
| FActorInstanceHandle::FActorInstanceHandle | ( | AActor * | InActor, |
| const UPrimitiveComponent * | RelevantComponent, | ||
| int32 | CollisionInstanceIndex | ||
| ) |
| FActorInstanceHandle::FActorInstanceHandle | ( | FActorInstanceManagerInterface | InManagerInterface, |
| int32 | InstanceIndex | ||
| ) |
| FActorInstanceHandle::FActorInstanceHandle | ( | const FActorInstanceHandle & | Other | ) |
| AActor * FActorInstanceHandle::FetchActor | ( | ) | const |
Returns the actor specified by this handle. This may require loading and creating the actor object.
| T * FActorInstanceHandle::FetchActor | ( | ) | const |
| AActor * FActorInstanceHandle::GetCachedActor | ( | ) | const |
| FName FActorInstanceHandle::GetFName | ( | ) | const |
|
inline |
| ULevel * FActorInstanceHandle::GetLevel | ( | ) | const |
| FVector FActorInstanceHandle::GetLocation | ( | ) | const |
|
inline |
|
inline |
| AActor * FActorInstanceHandle::GetManagingActor | ( | ) | const |
If this handle has a valid actor, return it; otherwise return the actor responsible for managing the instances.
| FString FActorInstanceHandle::GetName | ( | ) | const |
| UClass * FActorInstanceHandle::GetRepresentedClass | ( | ) | const |
| USceneComponent * FActorInstanceHandle::GetRootComponent | ( | ) | const |
Returns either the actor's root component or the root component for the manager associated with the handle
| FRotator FActorInstanceHandle::GetRotation | ( | ) | const |
| FTransform FActorInstanceHandle::GetTransform | ( | ) | const |
| bool FActorInstanceHandle::IsUnresolvedDehydratedActor | ( | ) | const |
| bool FActorInstanceHandle::IsValid | ( | ) | const |
|
static |
A path dedicated to creation of handles from any threads. This path marks the handle as need resolving once it gets accessed from the game thread.
|
static |
A path dedicated to creation of handles while converting actor to a dehydrated representation. This path ensures an actor won't be spawned as a side effect of looking for the actor given Manager/Index represents
|
inlineexplicit |
| bool FActorInstanceHandle::operator!= | ( | const FActorInstanceHandle & | Other | ) | const |
| FActorInstanceHandle & FActorInstanceHandle::operator= | ( | AActor * | OtherActor | ) |
|
default |
|
default |
| bool FActorInstanceHandle::operator== | ( | const FActorInstanceHandle & | Other | ) | const |
|
friend |
|
friend |