FLevelEditorViewportClient::GetActiveActorLock

Access the 'active' actor lock.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h

Include

#include "LevelEditorViewport.h"

Syntax

TWeakObjectPtr< AActor > GetActiveActorLock() const

Remarks

Access the 'active' actor lock.

This returns the actor lock (as per GetActorLock) if that is the currently active lock. It is not the currently active lock if there's a valid cinematic lock actor (as per GetCinematicActorLock), since cinematics take precedence.

Returns

The actor currently locked to the viewport and actively linked to the camera movements.

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