Skip to main content

LiquidFoamMaterialCreator

A class in Root.Township, Alta.Liquid.

Makes liquid foam materials, setting the liquid's rim colour on a copy of the template.

Constructors​

MemberWhat it is
LiquidFoamMaterialCreator()Creates a LiquidFoamMaterialCreator with default values.

Fields​

1 private and internal field
MemberWhat it is
private ColorMaterialProperty rimColorThe _RimColor shader property.

Methods​

MemberWhat it is
override Material CreateMaterial(LiquidVisualData settings, Material materialTemplate)Copies the template and sets _RimColor from the liquid visual.

Used in​

Members of other types that take, return or hold a LiquidFoamMaterialCreator: