Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


position

Center of a radial gradient, expressed as a fraction in [0,1] of the element box (0 = top-left, 1 = bottom-right). Default (0.5, 0.5) places the gradient at the element center. Ignored for linear gradients.
Read time 1 minuteLast updated 9 days ago

Definition

public Vector2 position { get; set; }