-
Notifications
You must be signed in to change notification settings - Fork 0
Blueprints API
Core component for setting up the atmospheric scattering effect properties.
Converts length unit from Earth radii to Unreal Engine units (with respect to ReferentEarthSize setting).
Converts length unit from Unreal Engine units to Earth radii (with respect to ReferentEarthSize setting).
Converts length unit from km to Unreal Engine units (with respect to ReferentEarthSize setting).
Converts length unit from Unreal Engine units to km (with respect to ReferentEarthSize setting).
Converts length unit from km to Earth radii.
Converts length unit from Earth radii to km.
Samples and returns optical density at the location for all layers at once.
Samples and returns atmospheric pressure at the location [kPa].
Samples and returns partial pressure of a specific gas at the location [kPa].
Samples and returns density of a specific aerosol at the location.
Samples and returns density of a specific emissive at the location.
Samples and returns partial pressures of all gases at the location [kPa].
Samples and returns densities of all aerosols at the location.
Samples and returns densities of all emissives at the location.
Samples and returns partial pressures of all gases, densities of all aerosols, and densities of all emissives at the location at once.
These event dispatchers are used primarily when ManuallyUpdate* switches are set to true and OnMaterial*ParametersChange interface functions are implemented, to broadcast the changes downstream.
Planetesimal sun material parameters changed.
Planetesimal persistent material parameters changed.
Planetesimal slow material parameters changed.
Planetesimal fast material parameters changed.
Update atmosphere's Center of Mass to match Planetesimal Component's location and optionally broadcast the change.
Forces refresh of cached material parameters for the planetesimal component.
Passes Sun params to RawParamsInterface (gets called automatically in most cases).
Passes persistent params to RawParamsInterface (gets called automatically in most cases).
Passes slow params to RawParamsInterface (gets called automatically in most cases).
Passes fast params to RawParamsInterface (gets called automatically in most cases).
Broadcasts cached material parameters.
Recalculate rho map and phase curves for the Planetesimal (reads rho map from cache if available). Can be used to update atmospheric compounds database changes.
Store rho map cache as asset for fast loading. Map are stored as texture assets in directory defined by Maps Cache Directory in the Project Settings for the Planetesimal plugin.
Utility component for setting up dynamic material instances in both the editor and in game. NOTE: Use of this component is optional. The atmospheric scattering effect can be set up without it.
Manually register material instance for automatic updates.
Unregister manually registered material instance.
Propagates planetesimal parameters to all registered dynamic material instances.
Propagates planetesimal parameters to all registered dynamic material instances.
Propagates planetesimal parameters to all registered dynamic material instances.
Propagates planetesimal parameters to all registered dynamic material instances.
Sets up dynamic material instances according to the selected method.
Called when this planetesimal actor's planet mesh scale changes. Scale is relative to the size defined by ReferentEarthSize and PlanetesimalMeshSize.

Called when this planetesimal actor's atmosphere mesh scale changes. Scale is relative to the size defined by ReferentEarthSize and PlanetesimalMeshSize.

Called when planetesimal bManuallyUpdateSlow is checked. BroadcastMaterialParamsSlow should be called manually on the Planetesimal Component.

Called when planetesimal bManuallyUpdateFast is checked. BroadcastMaterialParamsFast should be called manually on the Planetesimal Component.

Called for each updated scalar material parameter for the Planetesimal

Called for each updated vector material parameter for the Planetesimal

Called for each updated texture material parameter for the Planetesimal

Planetesimal material parameters changed event.

Get star map object's current location and color.

Gets the universal gas constant value at float precision. [N.m/mol.K]


Stores the planetesimal's rho map as an Unreal Engine Data Asset.

Renders the planetesimal's rho map into the texture.

Optical density for all four layers at a given height.

NOTE: All parameter values are normalized to the planetesimal radius.
Henyey-Greenstein phase function value given by the following formula:


Cornette-Shanks phase function value given by the following formula:

