Navigation
API > API/Plugins > API/Plugins/CelestialVault > API/Plugins/CelestialVault/FPlanetaryBody
Description
From the properties of this Celestial Body, compute the associated UE Transform, considering the following arguments
- ExtraScale - By default, the base scale is computed by assuming the body is rendered by a 1meter billboard plane. This ExtraScale factor artificially makes the object larger.
- DistanceOverride - if not set (or <0), we compute the UE Object location based on the actual Celestial Body Location. If set, we consider this distance instead. (Useful to place the body on a Plato-like sphere)
Virtual Inheritance
- FCelestialBody::ComputeUELocalTransform → FPlanetaryBody::ComputeUELocalTransform
| Name | ComputeUELocalTransform |
| Type | function |
| Header File | /Engine/Plugins/Runtime/CelestialVault/Source/CelestialVault/Public/CelestialDataTypes.h |
| Include Path | #include "CelestialDataTypes.h" |
| Source | /Engine/Plugins/Runtime/CelestialVault/Source/CelestialVault/Private/CelestialDataTypes.cpp |
virtual void ComputeUELocalTransform
(
double ExtraScale,
double UEDistanceOverride
)