Skip to main content

FloatMaterialProperty

A class in Root.Township, Alta.Utilities.

A cached shader property id for a float value, set on a material or a property block.

Constructors​

MemberWhat it is
FloatMaterialProperty(string propertyName)Creates a FloatMaterialProperty from propertyName.

Methods​

MemberWhat it is
override void SetOnMaterial(float value, Material material)Sets the float on a material.
override void SetOnPropertyBlock(float value, MaterialPropertyBlock propertyBlock)Sets the float on a material property block.

Used in​

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