Preparing search index...

    A 4-component boolean vector with x/y/z/w and r/g/b/a accessors.

    Index

    Constructors

    Properties

    a b g r w x y z

    Methods

    Constructors

    • Constructs a vec4b from four boolean components x, y, z, and w.

      Parameters

      • x: boolean
      • y: boolean
      • z: boolean
      • w: boolean

      Returns vec4b

    Properties

    a: boolean

    The alpha (w) boolean component.

    b: boolean

    The blue (z) boolean component.

    g: boolean

    The green (y) boolean component.

    r: boolean

    The red (x) boolean component.

    w: boolean

    The fourth (w) boolean component.

    x: boolean

    The first (x) boolean component.

    y: boolean

    The second (y) boolean component.

    z: boolean

    The third (z) boolean component.

    Methods

    • Returns a string representation of the vector.

      Returns string