center

var center: Vector2(source)

Specifies the center point for the radial gradient.

The center represents the normalized coordinates within the bounds of the gradient's area. When using BOUNDS coordinates a value of Vector2(0.5, 0.5) corresponds to the geometric center of the gradient's bounds. The coordinates are normalized, where (0,0) is the top-left corner and (1,1) is the bottom-right corner. This value determines the starting position for the radial gradient effect.