Navigation
API > API/Runtime > API/Runtime/Engine
A set of static methods for common editor operations that operate on ULevel objects.
| Name | FLevelUtils |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/LevelUtils.h |
| Include Path | #include "LevelUtils.h" |
Syntax
class FLevelUtils
Structs
| Name | Remarks |
|---|---|
| FApplyLevelTransformParams |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bApplyingLevelTransform | bool | LevelUtils.h | |
| bMovingLevel | bool | Flag to mark if we are currently finalizing a level offset. | LevelUtils.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ApplyEditorTransform
(
const ULevelStreaming* StreamingLevel, |
Apply the LevelEditorTransform on a level. | LevelUtils.h | |
static void ApplyLevelTransform
(
const FApplyLevelTransformParams& TransformParams |
Transforms the level to a new world space | LevelUtils.h | |
static void ApplyPostEditMove
(
ULevel* Level |
Calls PostEditMove on all the actors in the level | LevelUtils.h | |
static ULevelStreaming * FindStreamingLevel
(
UWorld* InWorld, |
Returns the streaming level by package name, or NULL if none exists. | LevelUtils.h | |
static ULevelStreaming * FindStreamingLevel
(
UWorld* InWorld, |
Returns the streaming level by package FName, or NULL if none exists. | LevelUtils.h | |
static ULevelStreaming * FindStreamingLevel
(
const ULevel* Level |
Returns the streaming level corresponding to the specified ULevel, or NULL if none exists. | LevelUtils.h | |
static ULevelStreaming * GetServerVisibleStreamingLevel
(
UWorld* InWorld, |
Returns the streaming level by package name if visible on server, or NULL if none exists. | LevelUtils.h | |
static bool IsApplyingLevelTransform() |
LevelUtils.h | ||
static bool IsLevelLoaded
(
ULevel* Level |
Returns true if the level is currently loaded in the editor, false otherwise. | LevelUtils.h | |
static bool IsLevelLocked
(
ULevel* Level |
Returns true if the specified level is locked for edit, false otherwise. | LevelUtils.h | |
static bool IsLevelLocked
(
AActor* Actor |
LevelUtils.h | ||
static bool IsLevelVisible
(
const ULevel* Level |
Returns true if the specified level is visible in the editor, false otherwise. | LevelUtils.h | |
static bool IsMovingLevel() |
Returns true if we are moving a level | LevelUtils.h | |
| Returns whether the given package is part of the world server visible streaming levels or not. | LevelUtils.h | ||
static bool IsStreamingLevelVisibleInEditor
(
const ULevelStreaming* StreamingLevel |
Returns true if the specified level is visible in the editor, false otherwise. | LevelUtils.h | |
static bool IsValidStreamingLevel
(
UWorld* InWorld, |
Returns whether the given package is referenced by one of the world streaming levels or not. | LevelUtils.h | |
static void RemoveEditorTransform
(
const ULevelStreaming* StreamingLevel, |
Remove the LevelEditorTransform from a level. | LevelUtils.h | |
static void SetEditorTransform
(
ULevelStreaming* StreamingLevel, |
Sets a new LevelEditorTransform on a streaming level . | LevelUtils.h | |
static bool SupportsMakingInvisibleTransactionRequests
(
UWorld* InWorld |
Returns whether the world supports for a client to use "making invisible" transaction requests to the server. | LevelUtils.h | |
static bool SupportsMakingVisibleTransactionRequests
(
UWorld* InWorld |
Returns whether the world supports for a client to use "making visible" transaction requests to the server. | LevelUtils.h | |
static void ToggleLevelLock
(
ULevel* Level |
Sets a level's edit lock. | LevelUtils.h |