Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Color

Index

Constructors

  • new Color(r?: number, g?: number, b?: number, a?: number): Color

Properties

_a: number
_b: number
_g: number
_r: number

Accessors

  • get a(): number
  • set a(value: number): void
  • get aFloat(): number
  • get b(): number
  • set b(value: number): void
  • get bFloat(): number
  • get g(): number
  • set g(value: number): void
  • get gFloat(): number
  • get r(): number
  • set r(value: number): void
  • get rFloat(): number

Methods

  • toArray(): number[]
  • toFloat32Array(): Float32Array
  • toFloatArray(): number[]

Generated using TypeDoc