Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShaderPropertyType

Type of a given shader property.
Read time 1 minuteLast updated 4 days ago

Definition

public enum ShaderPropertyType

Fields

Value

Description

ColorThe property holds a Vector4 value representing a color.
FloatThe property holds a floating number value.
IntThe property holds an integer number value.
RangeThe property holds a floating number value in a certain range.
TextureThe property holds a Texture object.
VectorThe property holds a Vector4 value.