Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AdvancedProperty
    • ConstantProperty

Index

Constructors

constructor

  • Parameters

    • value: number = 0

    Returns ConstantProperty

Properties

value

value: number = 0

常数值

memberof

ConstantProperty

Methods

clone

  • Returns ConstantProperty

get

  • get(t?: number): number
  • Parameters

    • Optional t: number

    Returns number

getMax

  • getMax(): number
  • 获取最大值,也就是常数值本身

    memberof

    ConstantProperty

    Returns number

getRaw

  • getRaw(dst?: Float32Array): Float32Array
  • 把value赋给一个dst中的第一个值

    memberof

    ConstantProperty

    Parameters

    • Optional dst: Float32Array

    Returns Float32Array

getUniformArrayData

  • getUniformArrayData(dst?: number[]): number[]
  • Parameters

    • Optional dst: number[]

    Returns number[]

getUniformType

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

    • Optional dst: Float32Array

    Returns Float32Array

Generated using TypeDoc