Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
This structure reflects the status of compiled sections on disk (registered in the asset registry), with respect to the desired set of groups in a CachedBuildVariant.
| Name | FBuildVariantUpdater |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionWorldUpdater.h |
| Include Path | #include "MeshPartitionWorldUpdater.h" |
Syntax
struct FBuildVariantUpdater
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBuildVariantUpdater
(
const FGuid& InBuildKey, |
MeshPartitionWorldUpdater.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllMeshPartitionDescriptors | TSharedPtr< MeshPartition::FCachedDescriptors > | This TSharedPtr keeps the CachedBuildVariant from being deallocated | MeshPartitionWorldUpdater.h | |
| BaseModifiersNeedingCreation | TMap< FSoftObjectPath, MeshPartition::FModifierDesc > | The set of base modifiers that are not currently represented within an up to date compiled section. | MeshPartitionWorldUpdater.h | |
| BuildInfo | FCompiledSectionBuildInfo | Partial BuildInfo for this build variant (used to initialize PIE placeholders, and also stores info like BuildVariantName) | MeshPartitionWorldUpdater.h | |
| GridSettings | MeshPartition::FGridSettings | Grid configuration for this build variant (CellSize=0 = not grid-aligned or resolution failed) | MeshPartitionWorldUpdater.h | |
| ModifierSetHashToTargetGroupIndex | TMap< FGuid, int32 > | Mapping from modifier set hash to target group (index into TargetGrouping) | MeshPartitionWorldUpdater.h | |
| ReusableCompiledSectionIndicesForGroup | TArray< TMap< FIntVector, int32 > > | Per-group reuse tracking: maps GridCellCoord → CompiledSectionIndex in the MeshPartitionUpdater's CompiledSections array. | MeshPartitionWorldUpdater.h | |
| TargetGrouping | const MeshPartition::FModifierGrouping & | The set of groups for a build variant | MeshPartitionWorldUpdater.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TMap< FSoftObjectPath, MeshPartition::FModifierDesc > & GetBaseModifiersNeedingCreation() |
MeshPartitionWorldUpdater.h | ||
const FCompiledSectionBuildInfo & GetBuildInfo() |
MeshPartitionWorldUpdater.h | ||
FName GetBuildVariantName() |
MeshPartitionWorldUpdater.h | ||
const MeshPartition::FGridSettings & GetGridSettings() |
MeshPartitionWorldUpdater.h | ||
const FSoftObjectPath & GetMeshPartitionPath() |
MeshPartitionWorldUpdater.h | ||
const TMap< FIntVector, int32 > & GetReusableCompiledSectionIndicesForGroup
(
int32 InGroupIndex |
MeshPartitionWorldUpdater.h | ||
int32 GetTargetGroupIndexFromModifierSetHash
(
const FGuid& ModifierSetHash |
Returns the target group index for the group with the specified modifier set hash. Returns -1 if no matching target group is found. | MeshPartitionWorldUpdater.h | |
const MeshPartition::FModifierGrouping & GetTargetGrouping() |
MeshPartitionWorldUpdater.h | ||
TConstArrayView< MeshPartition::FModifierGroup > GetTargetModifierGroups() |
MeshPartitionWorldUpdater.h | ||
bool HasReusableCompiledSectionsForGroup
(
int32 InGroupIndex, |
MeshPartitionWorldUpdater.h |