FActorLockStack

When locked to an actor this view will be positioned in the same location and rotation as the actor.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "LevelEditorViewport.h"

Syntax

struct FActorLockStack

Remarks

When locked to an actor this view will be positioned in the same location and rotation as the actor. If the actor has a camera component the view will also inherit camera settings such as aspect ratio, FOV, post processing settings, and the like.

This structure allows us to keep track of two actor locks: a normal actor lock, and a lock specifically for cinematic tools like Sequencer. A viewport locked to an actor by cinematics will always take precedent over any other.

Variables

Functions

Name Description

Public function Const

const FLevel...

 

GetLock

(
    bool bAllowActorLock
)

Get the active lock info. Cinematics take precedence.

Public function Const

bool

 

HasActorLocked

(
    const AActor* InActor
)

Returns whether the given actor is used as one of our locks.

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