Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


colorValue

Color value of the property.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public Color colorValue { get; set; }

Remarks

Setting a new value will apply it to all material MaterialProperty.targets, and will automatically record an undo operation.
Additional Resources: MaterialProperty.type, MaterialEditor.