Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/LevelInstance
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- ALevelInstance
- APackedLevelActor
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/LevelInstance/LevelInstanceActor.h |
| Include | #include "LevelInstance/LevelInstanceActor.h" |
Syntax
UCLASS (MinimalAPI)
class ALevelInstance :
public AActor ,
public ILevelInstanceInterface
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSoftObjectPtr< UWorld > | CookedWorldAsset | ||
| ELevelInstanceRuntimeBehavior | DesiredRuntimeBehavior | ||
| FLevelInstanceActorGuid | LevelInstanceActorGuid | ||
| FLevelInstanceActorImpl | LevelInstanceActorImpl | ||
| TObjectPtr< ULevelInstanceComponent > | LevelInstanceComponent | ||
| FGuid | LevelInstanceSpawnGuid | ||
| TObjectPtr< ULevelInstancePropertyOverrideAsset > | PropertyOverrides | ||
| TSoftObjectPtr< UWorld > | WorldAsset | Level LevelInstance |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| bool | CanDeleteSelectedActor
(
FText& OutReason |
When selected can this actor be deleted? | |
| bool | CanEditChangeComponent
(
const UActorComponent* InComponent, |
||
| void | Function that gets called from within Map_Check to allow this actor to check itself for any potential errors and register them with map check dialog. | ||
| TUniquePtr< class FWorldPartitionActorDesc > | Creates an uninitialized actor descriptor from this actor. Meant to be called on the class CDO. | ||
| bool | EditorCanAttachFrom
(
const AActor* InChild, |
Returns true if this actor is allowed to be attached from the given actor | |
| void | EditorGetUnderlyingActors
(
TSet< AActor* >& OutUnderlyingActors |
Get underlying actors | |
| FBox | GetComponentsBoundingBox
(
bool bNonColliding, |
Returns the world space bounding box of all components in this Actor. | |
| bool | GetReferencedContentObjects
(
TArray< UObject* >& Objects |
Used by the "Sync to Content Browser" right-click menu option in the editor. | |
| bool | GetSoftReferencedContentObjects
(
TArray< FSoftObjectPath >& SoftObjects |
Similar to GetReferencedContentObjects, but for soft referenced objects | |
| void | GetStreamingBounds
(
FBox& OutRuntimeBounds, |
Returns the bounding boxes of all components that make up this Actor for loading at runtime and editor. | |
| bool | Returns if this actor's current label is editable. | ||
| bool | Returns true if actor location should be locked. | ||
| bool | Used to know if actor supports some editor operations. (Delete, Replace) | ||
| bool | Used to allow actor classes to open an actor specific editor | ||
| void | Called after all the components in the Components array are registered, called both in editor and during gameplay. | ||
| void | Called after all currently registered components are cleared | ||
| void | PushLevelInstanceEditingStateToProxies
(
bool bInEditingState |
Push Foundation Editing state to primitive scene proxy | |
| void | Push Selection to actor | ||
| bool | SetIsHiddenEdLayer
(
bool bIsHiddenEdLayer |
Changes bHiddenEdLayer flag and returns true if flag changed. | |
| void | SetIsTemporarilyHiddenInEditor
(
bool bIsHidden |
Explicitly sets whether or not this actor is hidden in the editor for the duration of the current editor session | |
| bool | ShouldExport () |
Called before editor copy, true allow export | |
| bool | Returns true if actor can be selected as a sub selection of its root selection parent |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. | |
| void | GetLifetimeReplicatedProps
(
TArray< FLifetimeProperty >& OutLifetimeProps |
Returns the properties used for network replication, this needs to be overridden by all actor classes with native replicated properties | |
| bool | IsEditorOnly () |
Called during saving to determine if the object is forced to be editor only or not | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization | ||
| void | PostEditUndo () |
Called after applying a transaction to the object. | |
| void | PostEditUndo
(
TSharedPtr< ITransactionObjectAnnotation > TransactionAnnotation |
Called after applying a transaction to the object in cases where transaction annotation was provided. | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreEditChange
(
FProperty* PropertyThatWillChange |
This is called when a property is about to be modified externally | |
| void | PreEditUndo () |
Called before applying a transaction to the object. | |
| void | PreSave
(
FObjectPreSaveContext SaveContext |
Presave function. | |
| bool | ResolveSubobject
(
const TCHAR* SubObjectPath, |
Called to defer loading a subobject to its top-level container object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Overridden from ILevelInstanceInterface
| Type | Name | Description | |
|---|---|---|---|
| ELevelInstanceRuntimeBehavior | |||
| ELevelInstanceRuntimeBehavior | |||
| TSubclassOf< AActor > | |||
| ULevelInstanceComponent * | |||
| const FGuid & | |||
| const FLevelInstanceID & | Pure Interface Start. | ||
| ULevelInstancePropertyOverrideAsset * | |||
| const TSoftObjectPtr< UWorld > & | |||
| bool | |||
| bool | |||
| void | |||
| bool | SetWorldAsset
(
TSoftObjectPtr< UWorld > WorldAsset |
Sets the UWorld asset reference when loading a LevelInstance | |
| bool | |||
| bool |
Typedefs
| Name | Description |
|---|---|
| FOnLevelInstanceActorPostLoad |
Constants
| Name | Description |
|---|---|
| OnLevelInstanceActorPostLoad |