Documentation: grid::CosmeticParticleConfig
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
m_material_id | int | 1 | [0, 100] | |
cosmetic_force_create | bool | false | ||
render_back | bool | false | ||
render_on_grid | bool | false | ||
draw_as_long | bool | false | ||
airflow_force | float | 0 | [-10, 10] | |
airflow_scale | float | 0 | [-10, 10] | |
friction | float | 0 | [-10, 10] | |
probability | float | 1 | ||
particle_single_width | bool | true | ||
fade_based_on_lifetime | bool | true | ||
Custom data types | ||||
vel | vec2 | (0, 0) | ||
vel_random | types::aabb | (0, 0) (0, 0) | ||
color | uint32 | 0 | if something else than 0 will use this color | |
lifetime | ValueRange | [0.5, 1] | ||
gravity | vec2 | (0, 100) | ||
count | ValueRangeInt | [1, 1] |