Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h |
| Include | #include "LevelEditorViewport.h" |
Syntax
struct FLevelViewportActorLock
Remarks
Interface for objects who want to lock the viewport to an actor.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TOptional< EAspectRatioAxisConstraint > | AspectRatioAxisConstraint | An optional aspect ratio axis constraint to use when resizing the viewport. | |
| TWeakObjectPtr< AActor > | LockedActor | The actor the viewport should be locked to. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Creates a new instance of FLevelViewportActorLock. | |||
FLevelViewportActorLock
(
AActor* InActor |
Creates a new instance of FLevelViewportActorLock. | ||
FLevelViewportActorLock
(
AActor* InActor, |
Creates a new instance of FLevelViewportActorLock. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| AActor * | Gets the locked actor. | ||
| bool | Returns whether the locked actor is valid. |
Constants
| Name | Description |
|---|---|
| None | Represents no lock. |