Navigation
API > API/Runtime > API/Runtime/Engine
Shared so that existing containers can keep it alive even if owning LevelInstance might have released it.
| Name | FLevelInstancePropertyOverrideDesc |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h |
| Include Path | #include "WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h" |
Syntax
class FLevelInstancePropertyOverrideDesc : public TSharedFromThis< FLevelInstancePropertyOverrideDesc >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FLevelInstancePropertyOverrideDesc
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLevelInstancePropertyOverrideDesc() |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorDescsPerContainer | TMap< FActorContainerPath, TMap< FGuid, TSharedPtr< FWorldPartitionActorDesc > > > | Override ActorDescs are stored as shared pointers because we have FLevelInstanceActorDesc::Init which can be called multiple times for an actor (Every time CreateActorDesc is called) This will result in the new FLevelInstanceActorDesc copying some ActorDescs from the previous FLevelInstanceActorDesc (the one still in the parent Container) For this operation to not trash the previous FLevelInstanceActorDesc we need to share those ptrs | WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | |
| AssetPath | FSoftObjectPath | WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
| BaseContainer | UActorDescContainer * | WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
| PackageName | FName | WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
| WorldAsset | FSoftObjectPath | WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h |
Functions
Public
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TMap< FActorContainerPath, TMap< FGuid, TSharedPtr< FWorldPartitionActorDesc > > > & GetActorDescsPerContainer() |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
FName GetAssetPackage() |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
FSoftObjectPath GetAssetPath() |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
const UActorDescContainer * GetBaseContainer
(
const UActorDescContainer* InContainer, |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
| WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | |||
const FWorldPartitionActorDesc * GetBaseDescByGuid
(
const FActorContainerPath& InContainerPath, |
Utility methods to find Base ActorDescs. | WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | |
FString GetContainerName() |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
const FWorldPartitionActorDesc * GetOverrideActorDesc
(
const FGuid& InActorGuid, |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
FWorldPartitionActorDesc * GetOverrideActorDesc
(
const FGuid& InActorGuid, |
Returns the overriden ActorDesc for an Actor part of BaseContainer or any of its Child containers. | WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | |
FName GetWorldPackage() |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
void Init
(
const ULevelInstancePropertyOverrideAsset* InPropertyOverride |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
void SerializeFrom
(
const TArray< uint8 >& InPayload |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
void SerializeTo
(
TArray< uint8 >& OutPayload |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
void SetContainerForActorDescs
(
UActorDescContainer* InContainer |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
void TransferNonEditedContainers
(
const FLevelInstancePropertyOverrideDesc* InExistingOverrideDesc |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetContainerNameFromAsset
(
ULevelInstancePropertyOverrideAsset* InAsset |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h | ||
static FString GetContainerNameFromAssetPath
(
const FSoftObjectPath& InAssetPath |
WorldPartition/LevelInstance/LevelInstancePropertyOverrideDesc.h |