MaterialProperty<T>
An abstract class in Root.Township, Alta.Utilities.
Base for a typed shader property that can be set on a material or on a MaterialPropertyBlock.
- Listed in Utilities and other Alta namespaces
- Derived types
ColorMaterialProperty,FloatMaterialProperty,Vector3MaterialProperty
Constructors
| Member | What it is |
|---|---|
MaterialProperty(string propertyName) | Creates a MaterialProperty from propertyName. |
Properties
| Member | What it is |
|---|---|
protected int PropertyIndex { get; } | Shader property ID for the name given to the constructor. |