Navigation
API > API/Runtime > API/Runtime/Engine
| Name | ALevelInstance |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/LevelInstance/LevelInstanceActor.h |
| Include Path | #include "LevelInstance/LevelInstanceActor.h" |
Syntax
UCLASS (MinimalAPI)
class ALevelInstance :
public AActor ,
public ILevelInstanceInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ALevelInstance
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ALevelInstance() |
LevelInstance/LevelInstanceActor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnLevelInstanceActorPostLoad | TMulticastDelegate_OneParam< void, ALevelInstance * > | LevelInstance/LevelInstanceActor.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnLevelInstanceActorPostLoad | FOnLevelInstanceActorPostLoad | LevelInstance/LevelInstanceActor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DesiredRuntimeBehavior | ELevelInstanceRuntimeBehavior | Force the usage of SetDesiredRuntimeBehavior to change the behavior. | LevelInstance/LevelInstanceActor.h |
|
Functions
Public
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanDeleteSelectedActor
(
FText& OutReason |
When selected can this actor be deleted? | LevelInstance/LevelInstanceActor.h | |
virtual bool CanEditChangeComponent
(
const UActorComponent* InComponent, |
LevelInstance/LevelInstanceActor.h | ||
virtual void CheckForErrors() |
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. | LevelInstance/LevelInstanceActor.h | |
virtual TUniquePtr< class FWorldPartitionActorDesc > CreateClassActorDesc() |
Creates an uninitialized actor descriptor from this actor. Meant to be called on the class CDO. | LevelInstance/LevelInstanceActor.h | |
| Returns true if this actor is allowed to be attached from the given actor | LevelInstance/LevelInstanceActor.h | ||
virtual void EditorGetUnderlyingActors
(
TSet< AActor* >& OutUnderlyingActors |
Get underlying actors | LevelInstance/LevelInstanceActor.h | |
virtual FBox GetComponentsBoundingBox
(
bool bNonColliding, |
Returns the world space bounding box of all components in this Actor. | LevelInstance/LevelInstanceActor.h | |
| Used by the "Sync to Content Browser" right-click menu option in the editor. | LevelInstance/LevelInstanceActor.h | ||
virtual bool GetSoftReferencedContentObjects
(
TArray< FSoftObjectPath >& SoftObjects |
Similar to GetReferencedContentObjects, but for soft referenced objects | LevelInstance/LevelInstanceActor.h | |
virtual void GetStreamingBounds
(
FBox& OutRuntimeBounds, |
Returns the bounding boxes of all components that make up this Actor for loading at runtime and editor. | LevelInstance/LevelInstanceActor.h | |
virtual bool HasHLODRelevantComponents() |
Indicates whether this actor can provide HLOD relevant components. | LevelInstance/LevelInstanceActor.h | |
virtual bool IsActorLabelEditable () |
Returns if this actor's current label is editable. | LevelInstance/LevelInstanceActor.h | |
virtual bool IsHLODRelevant() |
Indicates whether this actor contributes to the HLOD generation. | LevelInstance/LevelInstanceActor.h | |
virtual bool IsLockLocation() |
Returns true if actor location should be locked. | LevelInstance/LevelInstanceActor.h | |
virtual bool IsUserManaged() |
Used to know if actor supports some editor operations. (Delete, Replace) | LevelInstance/LevelInstanceActor.h | |
virtual bool OpenAssetEditor() |
Used to allow actor classes to open an actor specific editor | LevelInstance/LevelInstanceActor.h | |
virtual void PostNetInit() |
Always called immediately after spawning and reading in replicated properties | LevelInstance/LevelInstanceActor.h | |
virtual void PostRegisterAllComponents () |
Called after all the components in the Components array are registered, called both in editor and during gameplay. | LevelInstance/LevelInstanceActor.h | |
virtual void PostUnregisterAllComponents() |
Called after all currently registered components are cleared | LevelInstance/LevelInstanceActor.h | |
virtual void PushLevelInstanceEditingStateToProxies
(
bool bInEditingState |
Push Foundation Editing state to primitive scene proxy | LevelInstance/LevelInstanceActor.h | |
virtual void PushSelectionToProxies() |
Push Selection to actor | LevelInstance/LevelInstanceActor.h | |
virtual bool SetIsHiddenEdLayer
(
bool bIsHiddenEdLayer |
Changes bHiddenEdLayer flag and returns true if flag changed. | LevelInstance/LevelInstanceActor.h | |
virtual void SetIsTemporarilyHiddenInEditor
(
bool bIsHidden |
Explicitly sets whether or not this actor is hidden in the editor for the duration of the current editor session | LevelInstance/LevelInstanceActor.h | |
virtual bool ShouldExport() |
Called before editor copy, true allow export | LevelInstance/LevelInstanceActor.h | |
virtual bool SupportsSubRootSelection() |
Returns true if actor can be selected as a sub selection of its root selection parent | LevelInstance/LevelInstanceActor.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEditChange
(
const FProperty* InProperty |
LevelInstance/LevelInstanceActor.h | ||
virtual 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 | LevelInstance/LevelInstanceActor.h | |
virtual void OnCookEvent
(
UE::Cook::ECookEvent CookEvent, |
LevelInstance/LevelInstanceActor.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
LevelInstance/LevelInstanceActor.h | ||
virtual void PostEditImport() |
LevelInstance/LevelInstanceActor.h | ||
virtual void PostEditUndo () |
LevelInstance/LevelInstanceActor.h | ||
virtual void PostEditUndo
(
TSharedPtr< ITransactionObjectAnnotation > TransactionAnnotation |
LevelInstance/LevelInstanceActor.h | ||
virtual void PostLoad() |
LevelInstance/LevelInstanceActor.h | ||
virtual void PreEditChange
(
FProperty* PropertyThatWillChange |
LevelInstance/LevelInstanceActor.h | ||
virtual void PreEditUndo() |
LevelInstance/LevelInstanceActor.h | ||
virtual bool ResolveSubobject
(
const TCHAR* SubObjectPath, |
LevelInstance/LevelInstanceActor.h | ||
virtual void Serialize
(
FArchive& Ar |
LevelInstance/LevelInstanceActor.h |
Overridden from ILevelInstanceInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ELevelInstanceRuntimeBehavior GetDefaultRuntimeBehavior() |
LevelInstance/LevelInstanceActor.h | ||
virtual ELevelInstanceRuntimeBehavior GetDesiredRuntimeBehavior() |
LevelInstance/LevelInstanceActor.h | ||
virtual TSubclassOf< AActor > GetEditorPivotClass() |
LevelInstance/LevelInstanceActor.h | ||
virtual ULevelInstanceComponent * GetLevelInstanceComponent() |
LevelInstance/LevelInstanceActor.h | ||
virtual const FGuid & GetLevelInstanceGuid() |
LevelInstance/LevelInstanceActor.h | ||
virtual const FLevelInstanceID & GetLevelInstanceID() |
Pure Interface Start. | LevelInstance/LevelInstanceActor.h | |
virtual ULevelInstancePropertyOverrideAsset * GetPropertyOverrideAsset() |
LevelInstance/LevelInstanceActor.h | ||
virtual const TSoftObjectPtr< UWorld > & GetWorldAsset() |
LevelInstance/LevelInstanceActor.h | ||
virtual bool HasValidLevelInstanceID() |
LevelInstance/LevelInstanceActor.h | ||
virtual bool IsLoadingEnabled() |
LevelInstance/LevelInstanceActor.h | ||
virtual void OnLevelInstanceLoaded() |
LevelInstance/LevelInstanceActor.h | ||
virtual void SetDesiredRuntimeBehavior
(
ELevelInstanceRuntimeBehavior NewBehavior |
Default assumes it's a constant Behavior. This is needed to allow\deny the editor of actor layers at the component level. You must implement this method if your LevelInstance child support multiple runtime behavior. | LevelInstance/LevelInstanceActor.h | |
virtual bool SetWorldAsset
(
TSoftObjectPtr< UWorld > WorldAsset |
Sets the UWorld asset reference when loading a LevelInstance | LevelInstance/LevelInstanceActor.h | |
virtual bool SupportsPartialEditorLoading() |
LevelInstance/LevelInstanceActor.h | ||
virtual bool SupportsPropertyOverrides() |
LevelInstance/LevelInstanceActor.h |