Navigation
API > API/Plugins > API/Plugins/MeshPartition
Describes the build and settings that produced a compiled section Used to track invalidation of old sections, and also filtering of different build variants for platforms
| Name | FCompiledSectionBuildInfo |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartition/Public/MeshPartitionCompiledSection.h |
| Include Path | #include "MeshPartitionCompiledSection.h" |
Syntax
USTRUCT ()
struct FCompiledSectionBuildInfo
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvalidGridCellCoord | const FIntVector | Sentinel for sections not produced by a grid-aligned split. | MeshPartitionCompiledSection.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BaseModifierPaths | TArray< FSoftObjectPath > | List of ModifierPaths for each base modifier in this compiled section | MeshPartitionCompiledSection.h |
|
| BuildKey | FGuid | Uniquely identifies the build job that produced this section. | MeshPartitionCompiledSection.h |
|
| BuildVariantHash | FGuid | Hash of the general MegaMeshDefinition and specific BuildVariant settings that produced this compiled section | MeshPartitionCompiledSection.h |
|
| BuildVariantName | FName | Name of the Build Variant that produced this section. | MeshPartitionCompiledSection.h |
|
| ClassChecksums | TArray< uint32 > | Partial hash of each individual class dependency, useful to debug invalidation behaviors | MeshPartitionCompiledSection.h |
|
| ClassDependencies | TArray< FName > | Class names for all modifier classes used to construct this compiled section | MeshPartitionCompiledSection.h |
|
| ClassHash | FGuid | Hash of the MegaMeshClassVersion for each class in the list above used to detect when modifier class implementations are changed | MeshPartitionCompiledSection.h |
|
| GridCellCoord | FIntVector | Absolute world-space grid coordinate of this section's cell. | MeshPartitionCompiledSection.h |
|
| GridSettings | FGridSettings | Grid configuration that produced this section (CellSize=0 means non-grid section). | MeshPartitionCompiledSection.h |
|
| MegaMeshDefinitionPath | FTopLevelAssetPath | Definition used to build this section (asset reference) | MeshPartitionCompiledSection.h |
|
| MegaMeshGUID | FGuid | Actor desc GUID of the AMegaMesh actor | MeshPartitionCompiledSection.h |
|
| MegaMeshPath | FSoftObjectPath | Path to the AMegaMesh actor this was built for | MeshPartitionCompiledSection.h |
|
| ModifierSetHash | FGuid | Hash of ALL Modifier Paths affecting this compiled section used by PackageHash to detect when a modifier is added or removed | MeshPartitionCompiledSection.h |
|
| ModifiersHash | FGuid | Hash of ALL of the Modifiers affecting this compiled section (base modifiers and non-base modifiers) used to detect changes to modifier settings | MeshPartitionCompiledSection.h |
|
| PackageChecksums | TArray< uint32 > | Partial hash of each individual package dependency, useful to debug invalidation behaviors | MeshPartitionCompiledSection.h |
|
| PackageDependencies | TArray< FName > | Package names for all asset dependencies, gathered from modifiers affecting this section | MeshPartitionCompiledSection.h |
|
| PackageHash | FGuid | Hash of ALL of the Packages affecting this compiled section (detects if any package has changed) | MeshPartitionCompiledSection.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MegaMeshDefinition | const UMeshPartitionDefinition * | Transient cache of the mega mesh definition pointer (converted from the MegaMeshDefinitionPath) | MeshPartitionCompiledSection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UMeshPartitionDefinition * GetMegaMeshDefinition() |
MeshPartitionCompiledSection.h | ||
bool HasValidGridCellCoord() |
MeshPartitionCompiledSection.h | ||
void Serialize
(
FArchive& Ar |
MeshPartitionCompiledSection.h | ||
bool SetMegaMeshDefinition
(
const UMeshPartitionDefinition* Definition |
MeshPartitionCompiledSection.h | ||
bool TargetsSameCompiledSectionAs
(
const FCompiledSectionBuildInfo& Other |
MeshPartitionCompiledSection.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FCompiledSectionBuildInfo& Other |
MeshPartitionCompiledSection.h |