Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ColorTableFactory

Hierarchy

  • ColorTableFactory

Index

Methods

Static color3TableArray

  • Returns an array of Color3 created from the given color scheme.

    The returned array will have colorCount number of values

    Parameters

    Returns Color3Like[]

Static color4TableArray

  • Returns an array of Color4 created from the given color scheme.

    The returned array will have colorCount number of values. All alpha values will be set to 1.

    Parameters

    Returns Color4Like[]

Static interpolateColor4Array

  • Interpolate a graded color table with the given number of colors (targetColorCount) based on the input colors (colorArray).

    This is useful for creating gradient/continuous style color maps based on two or more colors.

    Parameters

    • colorArray: Color4Like[]
    • targetColorCount: number

    Returns Color4Like[]

Static interpolateColorArray

  • Interpolate a graded color table with the given number of colors (targetColorCount) based on the input colors (colorArray).

    This is useful for creating gradient/continuous style color maps based on two or more colors.

    Parameters

    • colorArray: Color3Like[]
    • targetColorCount: number

    Returns Color3Like[]

Static partColorArray

  • partColorArray(colorCount: number): Color3Like[]
  • Returns an array with colors matching the part colors in the C3DC and the cee.ug component.

    Parameters

    • colorCount: number

    Returns Color3Like[]

Generated using TypeDoc