Options
All
  • Public
  • Public/Protected
  • All
Menu

Sets the 'uColor' uniform to the color RGB value.

Hierarchy

  • ColorFacet

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

color

color: Color = Color.fromRGB(1, 1, 1)

uColorName

uColorName: string

The name of the WebL uniform that this facet will affect.

Accessors

b

  • get b(): number
  • set b(b: number): void

g

  • get g(): number
  • set g(g: number): void

r

  • get r(): number
  • set r(r: number): void

Methods

scaleRGB

  • scaleRGB(α: number): this

setRGB

  • setRGB(r: number, g: number, b: number): this

setUniforms

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Property
  • Method
  • Protected property
  • Protected method
  • Static property
  • Static method

Generated using TypeDoc