Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Gradient()

Create a new Gradient object.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Gradient()

Remarks

The Gradient's keys can be manipulated using its Gradient.SetKeys function.