Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AdvancedProperty
    • TwoGradientsProperty

Index

Constructors

constructor

Properties

max

min

Methods

clone

  • Returns TwoGradientsProperty

get

  • get(percent: number): Color
  • Parameters

    • percent: number

    Returns Color

getMax

  • getMax(): any
  • Returns any

getRaw

  • getRaw(dst?: Float32Array): Float32Array
  • Parameters

    • Optional dst: Float32Array

    Returns Float32Array

getUniform

  • getUniform(colorDst1: Float32Array | number[], alphaDst1: Float32Array | number[], colorDst2: Float32Array | number[], alphaDst2: Float32Array | number[]): Float32Array[] | number[][]
  • Parameters

    • colorDst1: Float32Array | number[]
    • alphaDst1: Float32Array | number[]
    • colorDst2: Float32Array | number[]
    • alphaDst2: Float32Array | number[]

    Returns Float32Array[] | number[][]

getUniformArrayData

  • getUniformArrayData(colorDst1?: number[], alphaDst1?: number[], colorDst2?: number[], alphaDst2?: number[]): number[][]
  • Parameters

    • Optional colorDst1: number[]
    • Optional alphaDst1: number[]
    • Optional colorDst2: number[]
    • Optional alphaDst2: number[]

    Returns number[][]

getUniformType

  • getUniformType(colorDst1?: Float32Array, alphaDst1?: Float32Array, colorDst2?: Float32Array, alphaDst2?: Float32Array): Float32Array[]
  • Parameters

    • Optional colorDst1: Float32Array
    • Optional alphaDst1: Float32Array
    • Optional colorDst2: Float32Array
    • Optional alphaDst2: Float32Array

    Returns Float32Array[]

Generated using TypeDoc