Factorio Prototype DocsVersion 2.0.24

StatelessVisualisation :: struct

Children

Properties

animation optional :: AnimationVariations

One of nested_visualisations, animation and light needs to be defined.

One of nested_visualisations, animation and light needs to be defined.

shadow optional :: AnimationVariations

Shadow variation count must be equal to animation variation count. [...]

Shadow variation count must be equal to animation variation count. [...]

light optional :: LightDefinition

One of nested_visualisations, animation and light needs to be defined.

One of nested_visualisations, animation and light needs to be defined.

count optional :: uint16
min_count optional :: uint16

Only loaded if count is not defined.

Only loaded if count is not defined.

max_count optional :: uint16

Only loaded if count is not defined.

Only loaded if count is not defined.

period optional :: uint16
particle_tick_offset optional :: float
probability optional :: float

Silently clamped to be between 0 and 1.

Silently clamped to be between 0 and 1.

offset_x optional :: RangedValue
offset_y optional :: RangedValue
offset_z optional :: RangedValue
speed_x optional :: RangedValue
speed_y optional :: RangedValue
speed_z optional :: RangedValue
acceleration_x optional :: float
acceleration_y optional :: float
acceleration_z optional :: float
movement_slowdown_factor_x optional :: float

Silently clamped to be between 0 and 1.

Silently clamped to be between 0 and 1.

movement_slowdown_factor_y optional :: float

Silently clamped to be between 0 and 1.

Silently clamped to be between 0 and 1.

movement_slowdown_factor_z optional :: float

Silently clamped to be between 0 and 1.

Silently clamped to be between 0 and 1.

scale optional :: RangedValue
begin_scale optional :: float
end_scale optional :: float
fade_in_progress_duration optional :: float
fade_out_progress_duration optional :: float
spread_progress_duration optional :: float
adjust_animation_speed_by_base_scale optional :: bool
affected_by_wind optional :: bool
render_layer optional :: RenderLayer
positions optional :: array[Vector]

Array may be at most 32 elements.

Array may be at most 32 elements.

nested_visualisations optional :: StatelessVisualisation or array[StatelessVisualisation]

One of nested_visualisations, animation and light needs to be defined.

One of nested_visualisations, animation and light needs to be defined.

can_lay_on_the_ground optional :: bool

Properties

animation :: AnimationVariations optional

One of nested_visualisations, animation and light needs to be defined.

shadow :: AnimationVariations optional

Shadow variation count must be equal to animation variation count.

Only loaded if animation is defined.

light :: LightDefinition optional

One of nested_visualisations, animation and light needs to be defined.

count :: uint16 optional

min_count :: uint16 optional

Default: 1

Only loaded if count is not defined.

max_count :: uint16 optional

Default: Value of min_count

Only loaded if count is not defined.

period :: uint16 optional

particle_tick_offset :: float optional

Default: 0

probability :: float optional

Default: 1

Silently clamped to be between 0 and 1.

offset_x :: RangedValue optional

offset_y :: RangedValue optional

offset_z :: RangedValue optional

speed_x :: RangedValue optional

speed_y :: RangedValue optional

speed_z :: RangedValue optional

acceleration_x :: float optional

acceleration_y :: float optional

acceleration_z :: float optional

movement_slowdown_factor_x :: float optional

Silently clamped to be between 0 and 1.

movement_slowdown_factor_y :: float optional

Silently clamped to be between 0 and 1.

movement_slowdown_factor_z :: float optional

Silently clamped to be between 0 and 1.

scale :: RangedValue optional

begin_scale :: float optional

Default: 1

end_scale :: float optional

Default: 1

fade_in_progress_duration :: float optional

Default: 0

fade_out_progress_duration :: float optional

Default: 0

spread_progress_duration :: float optional

Default: 1

adjust_animation_speed_by_base_scale :: bool optional

Default: false

affected_by_wind :: bool optional

Default: false

render_layer :: RenderLayer optional

Default: "object"

positions :: array[Vector] optional

Array may be at most 32 elements.

nested_visualisations :: StatelessVisualisation or array[StatelessVisualisation] optional

One of nested_visualisations, animation and light needs to be defined.

can_lay_on_the_ground :: bool optional

Default: true

Prototypes

Types

Defines