Show / Hide Table of Contents

Class EditorLevelUtils

Editor Level Utils

Inheritance
System.Object
UObject
EditorLevelUtils
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.UnrealEd
Assembly: UE4DotNet.dll
Syntax
public class EditorLevelUtils : UObject

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static EditorLevelUtils DefaultObject { get; }
Property Value
Type Description
EditorLevelUtils
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

CreateNewStreamingLevel(SubclassOf<LevelStreaming>, String, Boolean)

Creates a new streaming level in the current world @

Declaration
public static LevelStreaming CreateNewStreamingLevel(SubclassOf<LevelStreaming> LevelStreamingClass, string NewLevelPath, bool bMoveSelectedActorsIntoNewLevel)
Parameters
Type Name Description
SubclassOf<LevelStreaming> LevelStreamingClass
System.String NewLevelPath
System.Boolean bMoveSelectedActorsIntoNewLevel
Returns
Type Description
LevelStreaming
Remarks

param LevelStreamingClass The streaming class type instead to use for the level. @param NewLevelPath Optional path to the level package path format ("e.g /Game/MyLevel"). If empty, the user will be prompted during the save process. @param bMoveSelectedActorsIntoNewLevel If true, move any selected actors into the new level.

@return Returns the newly created level, or NULL on failure

| Improve this Doc View Source

MakeLevelCurrent(LevelStreaming)

Makes the specified streaming level the current level for editing.

Declaration
public static void MakeLevelCurrent(LevelStreaming InStreamingLevel)
Parameters
Type Name Description
LevelStreaming InStreamingLevel
Remarks

The current level is where actors are spawned to when calling SpawnActor

@return true If a level was removed.

| Improve this Doc View Source

MoveActorsToLevel(Byte, LevelStreaming, Boolean)

Moves the specified list of actors to the specified streaming level.

Declaration
public static int MoveActorsToLevel(byte ActorsToMove, LevelStreaming DestStreamingLevel, bool bWarnAboutReferences)
Parameters
Type Name Description
System.Byte ActorsToMove
LevelStreaming DestStreamingLevel
System.Boolean bWarnAboutReferences
Returns
Type Description
System.Int32
Remarks

The new actors will be selected

@param ActorsToMove List of actors to move @param DestStreamingLevel The destination streaming level of the current world to move the actors to @param bWarnAboutReferences Whether or not to show a modal warning about referenced actors that may no longer function after being moved @return The number of actors that were successfully moved to the new level

| Improve this Doc View Source

MoveSelectedActorsToLevel(LevelStreaming, Boolean)

Moves the currently selected actors to the specified streaming level.

Declaration
public static int MoveSelectedActorsToLevel(LevelStreaming DestLevel, bool bWarnAboutReferences)
Parameters
Type Name Description
LevelStreaming DestLevel
System.Boolean bWarnAboutReferences
Returns
Type Description
System.Int32
Remarks

The new actors will be selected

@param DestStreamingLevel The destination streaming level of the current world to move the actors to @param bWarnAboutReferences Whether or not to show a modal warning about referenced actors that may no longer function after being moved @return The number of actors that were successfully moved to the new level

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static EditorLevelUtils New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
EditorLevelUtils

Operators

| Improve this Doc View Source

Implicit(IntPtr to EditorLevelUtils)

Convert from IntPtr to UObject

Declaration
public static implicit operator EditorLevelUtils(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
EditorLevelUtils
  • Improve this Doc
  • View Source
Back to top Generated by DocFX