Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# CameraEffectTriggerEffectItem - Prototype Docs

## CameraEffectTriggerEffectItem :: struct

Inherits from TriggerEffectItem

## Properties

- default
- sorted

type | :: `"camera-effect"` |
duration | :: uint8 |
ease_in_duration optional | :: uint8 |
ease_out_duration optional | :: uint8 |
delay optional | :: uint8 |
full_strength_max_distance optional | :: uint16 |
max_distance optional | :: uint16 |
strength optional | :: float |

Inherited from TriggerEffectItem

repeat_count optional | :: uint16 |
repeat_count_deviation optional | :: uint16 |
probability optional | :: float | Must be greater than `0` and less than or equal to `1`.
Must be greater than `0` and less than or equal to `1`.
affects_target optional | :: boolean |
show_in_tooltip optional | :: boolean |
damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...]
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...]

duration | :: uint8 |
type | :: `"camera-effect"` |
delay optional | :: uint8 |
ease_in_duration optional | :: uint8 |
ease_out_duration optional | :: uint8 |
full_strength_max_distance optional | :: uint16 |
max_distance optional | :: uint16 |
strength optional | :: float |

Inherited from TriggerEffectItem

affects_target optional | :: boolean |
damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...]
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...]
probability optional | :: float | Must be greater than `0` and less than or equal to `1`.
Must be greater than `0` and less than or equal to `1`.
repeat_count optional | :: uint16 |
repeat_count_deviation optional | :: uint16 |
show_in_tooltip optional | :: boolean |

## Properties

### type :: `"camera-effect"`

### duration :: uint8

### ease_in_duration :: uint8 optional

Default: `0`

### ease_out_duration :: uint8 optional

Default: `0`

### delay :: uint8 optional

Default: `0`

### full_strength_max_distance :: uint16 optional

Default: `0`

### max_distance :: uint16 optional

Default: `0`

### strength :: float optional

Default: `0`

Type used in

- TriggerEffect