API reference
Preparing search index…

Vector3f

A vector of three float32 components.

Type hierarchy

Hierarchy (View Summary)

Source & inheritance
Member directory16

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
  • get z(): Scalar<T>

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

    Returns

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

    Set the Z component.

    Parameters

    value
    Scalar<T>

    Returns

    void
    Source & inheritance

Methods

Symbol members

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

    Returns

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

    Returns

    ScalarArray<T>
    Source & inheritance

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