Class ColorDistributionHDR

Specifies a color as a distribution, which can include a constant color, random color range or a color gradient.

Hierarchy

  • FrameworkObject
    • ColorDistributionHDR

Constructors

  • Creates a new distribution that returns a constant color.

    Parameters

    Returns ColorDistributionHDR

Accessors

Methods

  • Returns the maximum value of a constant range. Only defined if the distribution represents a non-gradient range.

    Returns Color

  • Returns the curve representing the second gradient of a gradient range. Only defined if the distribution represents a gradient range.

    Returns ColorGradientHDR

  • Returns the constant value of the distribution, or the minimal value of a constant range. Undefined if the distribution is represented by a gradient.

    Returns Color

  • Returns the gradient representing the distribution, or the first gradient representing a gradient range. Undefined if the distribution is represented by a constant or a non-gradient range.

    Returns ColorGradientHDR