BoilingParticlesMaterialCreator
A class in Root.Township, Alta.Liquid.
Makes boiling particle materials for a liquid, setting its colour and glossiness on a copy of the template.
Constructors
Fields
3 private and internal fields
Properties
| Member | What it is |
|---|
ColorMaterialProperty LiquidColor { get; } | The _WaterColor shader property. |
FloatMaterialProperty Transparency { get; } | The _Transparency shader property, set per renderer through a property block. |
Methods
| Member | What it is |
|---|
override Material CreateMaterial(LiquidVisualData settings, Material materialTemplate) | Copies the template and sets the liquid colour and glossiness on it. |
Used in
Members of other types that take, return or hold a BoilingParticlesMaterialCreator: