Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Engine/ActorInstanceHandle.h |
| Include | #include "Engine/ActorInstanceHandle.h" |
Syntax
struct FActorInstanceHandle
Remarks
Handle to a unique object. This may specify a full weigh actor or it may only specify the light weight instance that represents the same object.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FActorInstanceHandle
(
AActor* InActor |
|||
FActorInstanceHandle
(
const FActorInstanceHandle& Other |
|||
FActorInstanceHandle
(
ALightWeightInstanceManager* Manager, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | DoesRepresentClass
(
const UClass* OtherClass |
||
| T * | FetchActor () |
Returns the actor specified by this handle. This may require loading and creating the actor object. | |
| AActor * | FetchActor () |
Returns the actor specified by this handle. This may require loading and creating the actor object. | |
| FName | GetFName () |
||
| int32 | Returns the index used internally by the manager | ||
| uint32 | |||
| FVector | GetLocation () |
||
| AActor * | If this handle has a valid actor, return it; otherwise return the actor responsible for managing the instances. | ||
| FString | GetName () |
||
| int32 | Returns the index used by rendering and collision | ||
| UClass * | |||
| USceneComponent * | Returns either the actor's root component or the root component for the manager associated with the handle | ||
| FRotator | GetRotation () |
||
| FTransform | GetTransform () |
||
| bool | IsValid () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FActorInstanceHandle& Other |
||
| bool | operator!=
(
const AActor* OtherActor |
||
| FActorInstanceHandle & | operator=
(
const FActorInstanceHandle& Other |
||
| FActorInstanceHandle & | operator=
(
FActorInstanceHandle&& Other |
||
| FActorInstanceHandle & | |||
| bool | operator==
(
const FActorInstanceHandle& Other |
||
| bool | operator==
(
const AActor* OtherActor |