FireSettings
A class in Root.Township, Alta.Heat.
An asset describing how a fire looks: light intensity, range and shadows, and how light and particles change as the fire burns. A heat source holds one and PooledFireEffect applies it.
- Listed in Stats, effects, heat and liquid
- Inherits or implements
ScriptableObject - Derived types
FireSettings.Create - Nested types
Create - Documented in Heat
Constructors
| Member | What it is |
|---|---|
FireSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
9 private and internal fields
| Member | What it is |
|---|---|
private float initialParticlesScale | Scale of the fire particles when the effect starts. |
private float intensity | Fire light intensity. |
private bool isLightBrightnessModified | Whether PooledFireEffect scales light brightness by fire progress. |
private bool isParticlesScaleModified | Whether PooledFireEffect scales the particles by fire progress. |
private AnimationCurve particlesScale | Particle scale by fire progress (0 to 1). |
private AnimationCurve particleSystemParametersOverLifetime | Particle system multiplier by fire progress (0 to 1), used when particle scaling is on. |
private AnimationCurve progressBrightnessMultiplier | Light brightness multiplier by fire progress (0 to 1). Defaults to fading from 1 to 0. |
private float range | Fire light range. |
private LightShadows shadows | Shadow mode for the fire light. |
Properties
Methods
Used in
Members of other types that take, return or hold a FireSettings: