Skip to content
Jigwright
HullForge docs

Set Sky Atmosphere

Set one property on a sky atmosphere, by reflection, verified by reading it back. Reports the UNIT the engine states for that property, because the numbers here are kilometres and degrees on a component whose transform is centimetres and nothing in the editor says so.

hf_set_sky_atmosphereWrite

Arguments

NameTypeDescription
settingreqstringProperty name on the SkyAtmosphereComponent, for example BottomRadius or AtmosphereHeight. Call hf_describe_sky_atmosphere for the list this engine has.
valuereqstringThe value as text, in the unit the engine states for that property. The result names the unit it used.
atmospherestringLabel of a SkyAtmosphere actor. Omit when the level has exactly one.
forceboolean
= false
Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first.

Nearby in Post process, sky and atmosphere:

All 12 tools in Post process, sky and atmosphere — 3 more not listed here.