FActorInstanceHandle

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.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.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

Name Description

Public function

FActorInstanceHandle()

Public function

FActorInstanceHandle

(
    AActor* InActor
)

Public function

FActorInstanceHandle

(
    const FActorInstanceHandle& Other
)

Public function

FActorInstanceHandle

(
    ALightWeightInstanceManager* M...,
    int32 InInstanceIndex
)

Functions

Name Description

Public function Const

bool

 

DoesRepresentClass

(
    const UClass* OtherClass
)

Public function Const

T *

 

FetchActor()

Returns the actor specified by this handle. This may require loading and creating the actor object.

Public function Const

AActor *

 

FetchActor()

Returns the actor specified by this handle. This may require loading and creating the actor object.

Public function Const

FName

 

GetFName()

Public function Const

int32

 

GetInstanceIndex()

Returns the index used internally by the manager

Public function Const

uint32

 

GetInstanceUID()

Public function Const

FVector

 

GetLocation()

Public function Const

AActor *

 

GetManagingActor()

If this handle has a valid actor, return it; otherwise return the actor responsible for managing the instances.

Public function Const

FString

 

GetName()

Public function Const

int32

 

GetRenderingInstanceIndex()

Returns the index used by rendering and collision

Public function Const

UClass *

 

GetRepresentedClass()

Public function Const

USceneCompon...

 

GetRootComponent()

Returns either the actor's root component or the root component for the manager associated with the handle

Public function Const

FRotator

 

GetRotation()

Public function Const

FTransform

 

GetTransform()

Public function Const

bool

 

IsValid()

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FActorInstanceHandle& Other
)

Public function Const

bool

 

operator!=

(
    const AActor* OtherActor
)

Public function

FActorInstan...

 

operator=

(
    const FActorInstanceHandle& Other
)

Public function

FActorInstan...

 

operator=

(
    FActorInstanceHandle&& Other
)

Public function

FActorInstan...

 

operator=

(
    AActor* OtherActor
)

Public function Const

bool

 

operator==

(
    const FActorInstanceHandle& Other
)

Public function Const

bool

 

operator==

(
    const AActor* OtherActor
)