API reference
Preparing search index…

Vector2u

sf::Vector2.

Type hierarchy

Hierarchy (View Summary)

Source & inheritance
Member directory20

Constructors

Properties

Accessors

Methods

Constructors

Accessors

  • get scalarType(): T

    The scalar storage type used by the components.

    Returns

    Source & inheritance
  • get x(): Scalar<T>

    The X component; writes follow the TypedArray conversion rules for scalarType.

    Returns

    Scalar<T>
    Source & inheritance
  • set x(value: Scalar<T>): void

    Set the X component.

    Parameters

    value
    Scalar<T>

    Returns

    void
    Source & inheritance
  • get y(): Scalar<T>

    The Y component; writes follow the TypedArray conversion rules for scalarType.

    Returns

    Scalar<T>
    Source & inheritance
  • set y(value: Scalar<T>): void

    Set the Y component.

    Parameters

    value
    Scalar<T>

    Returns

    void
    Source & inheritance

Methods

Symbol members

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

    Returns

    NativeValueHandle<"vector2">
    Source & inheritance
  • get "[vector2Storage]"(): ScalarArray<T>

    Returns

    ScalarArray<T>
    Source & inheritance

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