Options
All
  • Public
  • Public/Protected
  • All
Menu

Color for debug drawing. Each value has the range [0, 1].

Hierarchy

  • b2Color

Index

Constructors

Properties

Methods

Constructors

  • new b2Color(rr: number, gg: number, bb: number): b2Color

Properties

b: number

Blue

color: number

RGB color as hex.

g: number

Green

r: number

Red

Methods

  • Set(rr: number, gg: number, bb: number): void
  • Sets the Color to new RGB values.

    Parameters

    • rr: number

      Red value

    • gg: number

      Green value

    • bb: number

      Blue value

    Returns void

Generated using TypeDoc