Factorio Prototype DocsVersion 2.1.7

PlatformBackdrop - Prototype Docs

PlatformBackdrop :: struct new

Properties

positionnew optional :: Vector
radiusnew optional :: float
planet_surfacenew optional :: EffectTexture

Wrapped around the surface of the sphere using equirectangular projection.

Wrapped around the surface of the sphere using equirectangular projection.

planet_normalnew optional :: EffectTexture

Normal map of the surface deforming local sphere normal.

Normal map of the surface deforming local sphere normal.

planet_reflectivitynew optional :: EffectTexture

Glossiness of the surface in red channel.

Glossiness of the surface in red channel.

planet_emissionnew optional :: EffectTexture

Emissive light added to the surface. [...]

Emissive light added to the surface. [...]

global_cloudnew optional :: EffectTexture

Cloud mapped over the planet as the surface texture.

Cloud mapped over the planet as the surface texture.

global_cloud_normalnew optional :: EffectTexture
global_cloud_flownew optional :: EffectTexture

Flow map distorting the global cloud.

Flow map distorting the global cloud.

hero_cloudsnew optional :: array[PlatformBackdropHeroCloud]

Individual Hero Cloud decals over the planet surface. [...]

Individual Hero Cloud decals over the planet surface. [...]

hero_cloud_texture_1new optional :: Animation

Sprite or Animation to be referenced by hero_clouds definitions with sprite_index 1.

Sprite or Animation to be referenced by hero_clouds definitions with sprite_index 1.

hero_cloud_texture_2new optional :: Animation

Sprite or Animation to be referenced by hero_clouds definitions with sprite_index 2.

Sprite or Animation to be referenced by hero_clouds definitions with sprite_index 2.

hero_cloud_texture_3new optional :: Animation

Sprite or Animation to be referenced by hero_clouds definitions with sprite_index 3.

Sprite or Animation to be referenced by hero_clouds definitions with sprite_index 3.

rotation_secondsnew optional :: float

How many seconds it takes for the planet to do one revolution.

How many seconds it takes for the planet to do one revolution.

planet_axisnew optional :: Vector

Tilt and pitch of the planet axis.

Tilt and pitch of the planet axis.

planet_axis_deviation_amplitudenew optional :: Vector

How much tilt and pitch vary over time.

How much tilt and pitch vary over time.

planet_axis_deviation_secondsnew optional :: Vector

Number of seconds it takes for tilt and pitch to complete one cycle of deviation.

Number of seconds it takes for tilt and pitch to complete one cycle of deviation.

parallax_strengthnew optional :: Vector

How strongly the planet moves with camera. [...]

How strongly the planet moves with camera. [...]

flight_approach_speednew optional :: float

Scales the speed at which the planet appears in view when flown towards.

Scales the speed at which the planet appears in view when flown towards.

emission_scales_with_shadownew optional :: boolean

When true only the dark side will receive emission.

When true only the dark side will receive emission.

hero_clouds_are_emissivenew optional :: boolean

When true the hero clouds will add their color to emission as well.

When true the hero clouds will add their color to emission as well.

atmosphere_thicknessnew optional :: float

Width of the atmosphere layer as portion of the total radius.

Width of the atmosphere layer as portion of the total radius.

atmosphere_colornew optional :: Color

Color of atmospheric light. [...]

Color of atmospheric light. [...]

specular_colornew optional :: Color

Color of specular light. [...]

Color of specular light. [...]

light_colornew optional :: Color

Color of light. [...]

Color of light. [...]

light_directionnew optional :: Vector3D
atmosphere_ray_light_color_1new optional :: Color

Color of dawn side of terminator light. [...]

Color of dawn side of terminator light. [...]

atmosphere_ray_light_color_2new optional :: Color

Color of dusk side of terminator light. [...]

Color of dusk side of terminator light. [...]

surface_normal_intensitynew optional :: float
cloud_normal_intensitynew optional :: float
specular_intensitynew optional :: float
cloudinessnew optional :: float

Amount of cloud texture to be used based off of the alpha channel of the cloud texture.

Amount of cloud texture to be used based off of the alpha channel of the cloud texture.

emission_scalarnew optional :: float
light_radiusnew optional :: float

Perceived size of the light. [...]

Perceived size of the light. [...]

light_intensity_contrastnew optional :: float

Harshness of the terminator. [...]

Harshness of the terminator. [...]

surface_vertical_offsetnew optional :: float

How far below the atmosphere layer should the surface be.

How far below the atmosphere layer should the surface be.

cloud_vertical_offsetnew optional :: float

How far below the atmosphere layer should the clouds be.

How far below the atmosphere layer should the clouds be.

cloud_flow_intensitynew optional :: float

Intensity of the flow map effect. [...]

Intensity of the flow map effect. [...]

cloud_flow_secondsnew optional :: float

How many seconds it takes the flow effect to loop.

How many seconds it takes the flow effect to loop.

cloud_panning_ratenew optional :: float

Rotational speed of the clouds laterally across the planet relative to rotation_seconds of the planet. [...]

Rotational speed of the clouds laterally across the planet relative to rotation_seconds of the planet. [...]

Properties

position :: Vector optional new

Default: {-450.0, -50.0}

radius :: float optional new

Default: 400.0

planet_surface :: EffectTexture optional new

Wrapped around the surface of the sphere using equirectangular projection.

planet_normal :: EffectTexture optional new

Normal map of the surface deforming local sphere normal.

planet_reflectivity :: EffectTexture optional new

Glossiness of the surface in red channel.

planet_emission :: EffectTexture optional new

Emissive light added to the surface. Can be disabled on lit side using the emission_scales_with_shadow property.

global_cloud :: EffectTexture optional new

Cloud mapped over the planet as the surface texture.

global_cloud_normal :: EffectTexture optional new

global_cloud_flow :: EffectTexture optional new

Flow map distorting the global cloud.

hero_clouds :: array[PlatformBackdropHeroCloud] optional new

Individual Hero Cloud decals over the planet surface. The maximum number is four.

hero_cloud_texture_1 :: Animation optional new

Sprite or Animation to be referenced by hero_clouds definitions with sprite_index 1.

hero_cloud_texture_2 :: Animation optional new

Sprite or Animation to be referenced by hero_clouds definitions with sprite_index 2.

hero_cloud_texture_3 :: Animation optional new

Sprite or Animation to be referenced by hero_clouds definitions with sprite_index 3.

rotation_seconds :: float optional new

Default: 340.0

How many seconds it takes for the planet to do one revolution.

planet_axis :: Vector optional new

Default: {-30.0, 20.0}

Tilt and pitch of the planet axis.

planet_axis_deviation_amplitude :: Vector optional new

Default: {0.0, 0.0}

How much tilt and pitch vary over time.

planet_axis_deviation_seconds :: Vector optional new

Default: {609.2, 712.7}

Number of seconds it takes for tilt and pitch to complete one cycle of deviation.

parallax_strength :: Vector optional new

Default: {1.0, 1.0}

How strongly the planet moves with camera. {1.0, 1.0} means it tracks the starfield. {0.0, 0.0} means it tracks the foreground tiles.

flight_approach_speed :: float optional new

Default: 1.0

Scales the speed at which the planet appears in view when flown towards.

emission_scales_with_shadow :: boolean optional new

Default: true

When true only the dark side will receive emission.

hero_clouds_are_emissive :: boolean optional new

Default: false

When true the hero clouds will add their color to emission as well.

atmosphere_thickness :: float optional new

Default: 0.02

Width of the atmosphere layer as portion of the total radius.

atmosphere_color :: Color optional new

Default: {0.095, 0.15, 0.19, 0.1}

Color of atmospheric light. Multiplied by 10 in shader.

specular_color :: Color optional new

Default: {1.0, 1.0, 1.0, 1.0}

Color of specular light. Multiplied by 10 in shader.

light_color :: Color optional new

Default: {0.9804, 1.0, 1.0, 1.0}

Color of light. Multiplied by 10 in shader.

light_direction :: Vector3D optional new

Default: {-1.0, 0.0, 0.5}

atmosphere_ray_light_color_1 :: Color optional new

Default: {0.5, 0.26665, 0.0, 1.0}

Color of dawn side of terminator light. Multiplied by 10 in shader.

atmosphere_ray_light_color_2 :: Color optional new

Default: {0.1, 0.08431, 0.05059, 1.0}

Color of dusk side of terminator light. Multiplied by 10 in shader.

surface_normal_intensity :: float optional new

Default: 0.1

cloud_normal_intensity :: float optional new

Default: 1.0

specular_intensity :: float optional new

Default: 1.0

cloudiness :: float optional new

Default: 1

Amount of cloud texture to be used based off of the alpha channel of the cloud texture.

emission_scalar :: float optional new

Default: 2.0

light_radius :: float optional new

Default: 9.9

Perceived size of the light. Also affects size of the specular spot.

light_intensity_contrast :: float optional new

Default: 0.7

Harshness of the terminator. Functions like atmosphere thickness.

surface_vertical_offset :: float optional new

Default: 0.1

How far below the atmosphere layer should the surface be.

cloud_vertical_offset :: float optional new

Default: 0.015

How far below the atmosphere layer should the clouds be.

cloud_flow_intensity :: float optional new

Default: 0.3

Intensity of the flow map effect. Begins to degenerate at high values.

cloud_flow_seconds :: float optional new

Default: 32.0

How many seconds it takes the flow effect to loop.

cloud_panning_rate :: float optional new

Default: 0.0

Rotational speed of the clouds laterally across the planet relative to rotation_seconds of the planet. -1.0 means it counteracts the rotation rate and makes clouds remain in place. 0.0 means it drifts along with planet surface.

Fulltext search

Prototypes

Types

Defines

Fulltext search for