Skip to main content

Vector3MaterialProperty

A class in Root.Township, Alta.Utilities.

A named shader property that takes a Vector3, set by cached property id.

Constructors​

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

Methods​

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

Used in​

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