APackedLevelActor

[APackedLevelActor](API\Runtime\Engine\PackedLevelActor\APackedLevelActor) is the result of packing the source level (WorldAsset base class property) into a single actor.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/PackedLevelActor/PackedLevelActor.h

Include

#include "PackedLevelActor/PackedLevelActor.h"

Syntax

class APackedLevelActor : public ALevelInstance

Remarks

APackedLevelActor is the result of packing the source level (WorldAsset base class property) into a single actor. See FPackedLevelActorBuilder.

Other components are unsupported and will result in an incomplete APackedLevelActor. In this case using a regular ALevelInstance is recommended.

Variables

Constructors

Name Description

Public function

APackedLevelActor

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

T *

 

AddPackedComponent

(
    TSubclassOf< T > ComponentClass
)

Public function Static

bool

 

CreateOrUpdateBlueprint

(
    ALevelInstance* InLevelInstanc...,
    TSoftObjectPtr< UBlueprint > InBlue...,
    bool bCheckoutAndSave,
    bool bPromptForSave
)

Public function Static

bool

 

CreateOrUpdateBlueprint

(
    TSoftObjectPtr< UWorld > InWorldAss...,
    TSoftObjectPtr< UBlueprint > InBlue...,
    bool bCheckoutAndSave,
    bool bPromptForSave
)

Public function

void

 

DestroyPackedComponents()

Public function Const

void

 

GetPackedComponents

(
    TArray< UActorComponent* >& O...
)

Public function Static

FName

 

GetPackedComponentTag()

Public function

void

 

SetPackedVersion

(
    const FGuid& Version
)

Overridden from ALevelInstance

Overridden from AActor

Name Description

Public function Virtual Const

TUniquePtr< ...

 

CreateClassActorDesc()

Creates an uninitialized actor descriptor from this actor. Meant to be called on the class CDO.

Public function Virtual Const

bool

 

IsHiddenEd()

Returns true if this actor is hidden in the editor viewports, also checking temporary flags.

Public function Virtual Const

bool

 

IsHLODRelevant()

Indicates whether this actor contributes to the HLOD generation.

Public function Virtual

void

 

RerunConstructionScripts()

Rerun construction scripts, destroying all autogenerated components; will attempt to preserve the root component location.

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

CanEditChange

(
    const FProperty* InProperty
)

Called by the editor to query whether a property of this object is allowed to be modified.

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.