Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PackedLevelActor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- ALevelInstance
- APackedLevelActor
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| T * | AddPackedComponent
(
TSubclassOf< T > ComponentClass |
||
| void | |||
| void | GetPackedComponents
(
TArray< UActorComponent* >& OutPackedComponents |
||
| FName | |||
| uint32 | |||
| UBlueprint * | |||
| bool | IsRootBlueprint
(
UClass* InClass |
||
| bool | |||
| void | SetPackedHash
(
uint32 InHash |
||
| void | SetPackedVersion
(
const FGuid& InVersion |
||
| void | SetShouldLoadForPacking
(
bool bInLoadForPacking |
||
| bool |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< class FWorldPartitionActorDesc > | Creates an uninitialized actor descriptor from this actor. Meant to be called on the class CDO. | ||
| bool | IsHiddenEd () |
Returns true if this actor is hidden in the editor viewports, also checking temporary flags. | |
| bool | Indicates whether this actor contributes to the HLOD generation. | ||
| void | Rerun construction scripts, destroying all autogenerated components; will attempt to preserve the root component location. |
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 | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Overridden from ILevelInstanceInterface
| Type | Name | Description | |
|---|---|---|---|
| ELevelInstanceRuntimeBehavior | |||
| EWorldPartitionActorFilterType | Return supported filter types when setting filter through details panel. | ||
| EWorldPartitionActorFilterType | Return supported filter types when using filter for loading actors. | ||
| bool | |||
| void | OnCommit
(
bool bChanged |
||
| void | OnCommitChild
(
bool bChanged |
||
| void | OnEdit () |
||
| void | OnEditChild () |
||
| void | |||
| bool | When Loading a APackedLevelActor it needs to be fully loaded for packing. | ||
| void |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CreateOrUpdateBlueprint
(
ALevelInstance* InLevelInstance, |
Use FPackedLevelActorUtils::CreateOrUpdateBlueprint instead | |
| bool | CreateOrUpdateBlueprint
(
TSoftObjectPtr< UWorld > InWorldAsset, |
Use FPackedLevelActorUtils::CreateOrUpdateBlueprint instead | |
| void | UpdateBlueprint
(
UBlueprint* InBlueprint, |
Use FPackedLevelActorUtils::UpdateBlueprint instead |