sfml.js
    Preparing search index...

    Class Bvec2

    sf::Vector2; each component occupies one canonical 0/1 byte.

    Hierarchy

    • BooleanVector<"vector2">
      • Bvec2
    Index

    Constructors

    • 创建全 false 向量,指定 x/y,或按非零为 true 转换复制二维向量。

      Parameters

      • ...args: Arguments2

      Returns Bvec2

    Properties

    "[mutableValue]": true
    scalarType: "bool" = 'bool'

    布尔标量类型,底层分量使用 0/1 字节。

    Accessors

    • get "[glslNative]"(): NativeValueHandle<K>

      Returns NativeValueHandle<K>

    Methods

    • 返回是否至少有一个分量为 true。

      Returns boolean