GradientBlockColorStep

Class used to store a color step for the GradientBlock

Hierarchy

  • GradientBlockColorStep

Index

Constructors

Properties

Constructors

constructor

Find examples in Playground
  • 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

Properties

color

Find examples in Playground
color: Color3

Gets or sets the color associated with this step

step

Find examples in Playground
step: number

Gets or sets a value indicating which step this color is associated with (between 0 and 1)

Generated using TypeDoc