MaterialProperty.propertyType

public Rendering.ShaderPropertyType propertyType;

Description

The type of the property.

Material properties can be textures, colors, floats and so on. Depending on the type, use textureValue, colorValue, vectorValue or floatValue to access the property value.


Did you find this page useful? Please give it a rating: