PlanetX Docsv1.0.1
Language: ENLast audited: 2026-08-23
Public API ReferenceSource verified

Assets and Project Settings API

Download this pageMarkdown

#UPlanetXPlanetAsset

Header: PlanetX/Assets/PlanetXPlanetAsset.h

#Identity and revision reads

CategoryFunctions
Planet AssetGetPlanetId, GetRadiusCm
Bake revisionGetBakeContractRevision, GetLastSuccessfulBakeRevision, IsProxyBakeStale
Visual and material revisionGetVisualSettingsRevision, GetMaterialBindingRevision, GetLastSuccessfulVisualBuildRevision, HasSuccessfulVisualBuild, IsVisualBuildStale
Environment and preview revisionGetEnvironmentSettingsRevision, GetLastSuccessfulPreviewRevision, IsVisualPreviewStale

These are Blueprint-pure reads. A zero revision can indicate that no corresponding successful output has been published yet.

#Visual authoring mutations

All functions below are in the PlanetX|Visual Blueprint category and return bool unless noted.

FunctionsContract
SetSurfaceCompletionSettings, SetProxyPaddingSettings, SetVisualGenerationSettingsUpdates completion and padding inputs through revision-aware setters.
SetEnvironmentSettings, SetActiveSurfacePresetUpdates environment settings or the active surface preset.
SetSectionPlacement, SetSectionGroundProxyVisibilityUpdates a named Section.
IsSectionPlacementLockedToNorthPole, IsSectionAtCanonicalNorthPoleReads the Same World placement contract for a named Section.
ValidateSectionPlacement, ValidateLevelTopologyValidates placement or the complete topology; reason text is supplied where declared.
SetSectionSurfaceCorrectionSettings, RefreshSectionProxyBakeLinkUpdates correction settings or re-links authoritative Bake Data.

MarkVisualPreviewBuildSucceeded is a void Blueprint-callable function in PlanetX|Revision; call it only after a successful preview build. Prefer these methods and the Planet Asset Editor over direct mutation so revision and staleness tracking remains coherent.

#UPlanetXSurfacePreset

Header: PlanetX/Visual/Assets/PlanetXSurfacePreset.h

This Blueprint type has no Blueprint-callable functions. Its editable fields are PresetId, DisplayName, PresetType, CompletionSettings, PaddingSettings, BaseSurfaceMaterial, OptionalBiomeMask, and OptionalHeightMask. Keep PresetId stable and make sure referenced materials and textures are included in the cook.

#Project settings

UPlanetXRuntimeDeveloperSettings is declared in PlanetX/Settings/PlanetXRuntimeDeveloperSettings.h. Its project-wide config field is RuntimeBudgetPolicy, which defaults to EPlanetXRuntimeBudgetPolicy::FollowEngineScalability.

UPlanetXRenderingDeveloperSettings is declared in PlanetX/Settings/PlanetXRenderingDeveloperSettings.h. Its config fields are bEnableLensFlares, defaulting to true, and LensFlareQuality, defaulting to 3 with a valid range of 0 through 3. ApplyConsoleVariables is a C++ member, not a Blueprint function.