Documentation

Unity Engine

Download Unity

Unity Engine

position

Position of the stop along the gradient axis. Interpretation depends on BackgroundGradientStop.positionIsPercent: when true, expressed as a fraction in [0,1]; when false, expressed as a length in element-local pixels.
Read time 1 minuteLast updated a month ago

Definition

public float position