API reference
Preparing search index…

Glsl.Bvec3

sf::Vector3, sharing the same native family as numeric Vector3.

Type hierarchy

Hierarchy

  • BooleanVector<"vector3">
    • Bvec3
Source & inheritance
Member directory15

Constructors

Properties

Accessors

Methods

Constructors

  • Creates an all-false vector, specifies x/y/z, or copies a 3D vector with nonzero converted to true.

    Parameters

    ...args
    Arguments3

    Returns

    Source & inheritance

Properties

scalarType: "bool" = 'bool'

Boolean scalar type with components stored as 0/1 bytes.

Source & inheritance

Accessors

  • get x(): boolean

    X boolean component.

    Returns

    boolean
    Source & inheritance
  • set x(value: boolean): void

    Set the X boolean component.

    Parameters

    value
    boolean

    Returns

    void
    Source & inheritance
  • get y(): boolean

    Y boolean component.

    Returns

    boolean
    Source & inheritance
  • set y(value: boolean): void

    Set the Y boolean component.

    Parameters

    value
    boolean

    Returns

    void
    Source & inheritance

Methods

  • Computes the dot product and converts it to boolean; returns true if any corresponding component pair is both true.

    Parameters

    rhs
    ReadonlyValue<BooleanVector<"vector3">>

    Returns

    boolean
    Source & inheritance
  • Returns whether at least one component is true.

    Returns

    boolean
    Source & inheritance

Symbol members

"[mutableValue]": true
Source & inheritance
  • get "[glslNative]"(): NativeValueHandle<K>

    Returns

    NativeValueHandle<K>
    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0