Show / Hide Table of Contents

Class Level

A Level is a collection of Actors (lights, volumes, mesh instances etc.

Inheritance
System.Object
UObject
Level
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.Engine
Assembly: UE4DotNet.dll
Syntax
public class Level : UObject
Remarks

). Multiple Levels can be loaded and unloaded into the World to create a streaming experience.

@see https://docs.unrealengine.com/latest/INT/Engine/Levels @see UActor

Properties

| Improve this Doc View Source

ActorCluster

Actor Cluster

Declaration
public LevelActorContainer ActorCluster { get; set; }
Property Value
Type Description
LevelActorContainer
| Improve this Doc View Source

AssetUserData

Array of user data stored with the asset

Declaration
public ObjectArrayField<AssetUserData> AssetUserData { get; }
Property Value
Type Description
ObjectArrayField<AssetUserData>
| Improve this Doc View Source

bIsLightingScenario

Declaration
public bool bIsLightingScenario { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bIsVisible

Declaration
public bool bIsVisible { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bLocked

Declaration
public bool bLocked { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bStaticComponentsRegisteredInStreamingManager

Declaration
public bool bStaticComponentsRegisteredInStreamingManager { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bTextureStreamingRotationChanged

Declaration
public bool bTextureStreamingRotationChanged { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

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

LevelBuildDataId

Identifies map build data specific to this level, eg lighting volume samples.

Declaration
public FGuid LevelBuildDataId { get; set; }
Property Value
Type Description
FGuid
| Improve this Doc View Source

LevelColor

The level color used for visualization.

Declaration
public LinearColor LevelColor { get; set; }
Property Value
Type Description
LinearColor
Remarks

(Show -> Advanced -> Level Coloration) Used only in world composition mode

| Improve this Doc View Source

LevelScriptActor

The level scripting actor, created by instantiating the class from LevelScriptBlueprint. This handles all level scripting

Declaration
public LevelScriptActor LevelScriptActor { get; set; }
Property Value
Type Description
LevelScriptActor
| Improve this Doc View Source

LevelScriptBlueprint

Reference to the blueprint for level scripting

Declaration
public LevelScriptBlueprint LevelScriptBlueprint { get; set; }
Property Value
Type Description
LevelScriptBlueprint
| Improve this Doc View Source

LevelSimplification

Level simplification settings for each LOD

Declaration
public LevelSimplificationDetails LevelSimplification { get; set; }
Property Value
Type Description
LevelSimplificationDetails
| Improve this Doc View Source

LightBuildLevelOffset

Level offset at time when lighting was built

Declaration
public IntVector LightBuildLevelOffset { get; set; }
Property Value
Type Description
IntVector
| Improve this Doc View Source

LightmapTotalSize

Total number of KB used for lightmap textures in the level.

Declaration
public float LightmapTotalSize { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MapBuildData

Registry for data from the map build.

Declaration
public MapBuildDataRegistry MapBuildData { get; set; }
Property Value
Type Description
MapBuildDataRegistry
Remarks

This is stored in a separate package from the level to speed up saving / autosaving. ReleaseRenderingResources must be called before changing what is referenced, to update the rendering thread state.

| Improve this Doc View Source

Model

BSP UModel.

Declaration
public Model Model { get; set; }
Property Value
Type Description
Model
| Improve this Doc View Source

ModelComponents

BSP Model components used for rendering.

Declaration
public ObjectArrayField<ModelComponent> ModelComponents { get; }
Property Value
Type Description
ObjectArrayField<ModelComponent>
| Improve this Doc View Source

NavDataChunks

Navigation related data that can be stored per level

Declaration
public ObjectArrayField<NavigationDataChunk> NavDataChunks { get; }
Property Value
Type Description
ObjectArrayField<NavigationDataChunk>
| Improve this Doc View Source

NavListEnd

Nav List End

Declaration
public NavigationObjectBase NavListEnd { get; set; }
Property Value
Type Description
NavigationObjectBase
| Improve this Doc View Source

NavListStart

Start and end of the navigation list for this level, used for quickly fixing up when streaming this level in/out.

Declaration
public NavigationObjectBase NavListStart { get; set; }
Property Value
Type Description
NavigationObjectBase
Remarks

@TODO DEPRECATED - DELETE

| Improve this Doc View Source

NumTextureStreamingDirtyResources

Num of resources that have changed since the last texture streaming build. Updated in map check.

Declaration
public int NumTextureStreamingDirtyResources { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

NumTextureStreamingUnbuiltComponents

Num of components missing valid texture streaming data. Updated in map check.

Declaration
public int NumTextureStreamingUnbuiltComponents { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

OwningWorld

The World that has this level in its Levels array.

Declaration
public World OwningWorld { get; set; }
Property Value
Type Description
World
Remarks

This is not the same as GetOuter(), because GetOuter() for a streaming level is a vestigial world that is not used. It should not be accessed during BeginDestroy(), just like any other UObject references, since GC may occur in any order.

| Improve this Doc View Source

ShadowmapTotalSize

Total number of KB used for shadowmap textures in the level.

Declaration
public float ShadowmapTotalSize { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

StaticClass

Get UE4 Class

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

WorldSettings

World Settings

Declaration
public WorldSettings WorldSettings { get; set; }
Property Value
Type Description
WorldSettings

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

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

Operators

| Improve this Doc View Source

Implicit(IntPtr to Level)

Convert from IntPtr to UObject

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