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

Actor API

Download this pageMarkdown

#APlanetXPlanetActor

Header: PlanetX/Actors/PlanetXPlanetActor.h

RegisterToPlanetXRuntime returns whether registration succeeded. UnregisterFromPlanetXRuntime returns void. Both are in the PlanetX|Planet Blueprint category.

The actor exposes Blueprint-read-only references to Root, PlanetComponent, PlanetProxyComponent, TransitionMorphComponent, SkyAtmosphereComponent, and VolumetricCloudComponent. Assign the Planet Asset through the Planet Component and keep Planet and Binding IDs unambiguous.

#APlanetXTransitionEndpoint

Header: PlanetX/Actors/PlanetXTransitionEndpoint.h

This actor has no Blueprint-callable functions. Its reflected properties define the authoring contract:

PropertiesPurpose
PlanetId, SectionId, LevelPairId, EndpointRoleIdentifies the endpoint and whether it represents Orbit or Ground.
PlanetAsset, PlanetActor, EnvironmentManagerActorLinks policy data and participating actors. PlanetActor applies to Orbit endpoints.
CoordinateComponentHolds the endpoint's canonical reference and pose.
TransitionCylinderDefines the transition region.
bAutoSizeTransitionCylinderToSectionBoundsDerives the cylinder from Section bounds when enabled.
RuntimeAlphaUpdateThresholdLimits small runtime alpha updates.

IDs must match a real Section and Level Pair in the resolved Planet Asset. Ground endpoints require the Planet Asset; Orbit endpoints can infer it from the Planet Actor when available.

#APlanetXEnvironmentManager

Header: PlanetX/Actors/PlanetXEnvironmentManager.h

ValidateEnvironmentBinding is the only main environment command that returns bool. Use it before the void mutation functions and resolve reported binding problems first.

ReturnFunctions
boolValidateEnvironmentBinding
voidCaptureEnvironmentStateFromBindings, ApplyEnvironmentState, SetEnvironmentTransition, ApplyInitialRuntimeSpace
voidApplyOrbitCloudRenderQualityOverride, RestoreSourceCloudRenderQuality
voidApplyOrbitAtmosphereRenderQualityOverride, RestoreSourceAtmosphereRenderQuality
voidApplyOrbitCloudTracingOverride, RestoreSourceCloudTracing
boolIsOrbitCloudRenderQualityOverrideActive, IsOrbitAtmosphereRenderQualityOverrideActive, IsOrbitCloudTracingOverrideActive

Apply and restore overrides as matched operations. A void command does not provide a success result; validate bindings and inspect the matching active-state query where one exists.

#APlanetXRuntimePreviewActor

Header: PlanetX/Preview/PlanetXRuntimePreviewActor.h

Prefer UPlanetXSubsystem::LoadRuntimePreview for normal runtime use.

ReturnFunctions
boolLoadPreviewFromBakeData
voidAssignPreviewBakeData, SetPreviewVisible, UnloadPreview
boolIsPreviewLoaded, IsPreviewRenderable
int32GetRenderableComponentCount, GetRealizedComponentCount
enum or objectGetPreviewResidencyState, GetSourceBakeData

Loaded and renderable are distinct states. Runtime budgets can make the realized count smaller than the renderable count.