Class GradientBlockColorStep
Constructors
constructor
-
Creates a new GradientBlockColorStep
Parameters
- step: number
defines a value indicating which step this color is associated with (between 0 and 1)
- color: Color3
defines the color associated with this step
Returns GradientBlockColorStep
- step: number
Accessors
color
-
Gets the color associated with this step
Returns Color3
step
-
get step(): number
Gets value indicating which step this color is associated with (between 0 and 1)
Returns number
-
set step(val: number): void
Sets a value indicating which step this color is associated with (between 0 and 1)
Parameters
- val: number
Returns void
Class used to store a color step for the GradientBlock