A vector containing 4 boolean values.

Constructors

Properties

a b g r w x y z

Methods

Constructors

  • Creates a new instance of a vec4b.

    Parameters

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

    Returns vec4b

Properties

a: boolean

Alternate name for the w component.

b: boolean

Alternate name for the z component.

g: boolean

Alternate name for the y component.

r: boolean

Alternate name for the x component.

w: boolean

w component of the vec4b.

x: boolean

x component of the vec4b.

y: boolean

y component of the vec4b.

z: boolean

z component of the vec4b.

Methods

  • Returns a string representation of the vector.

    Returns string