Class ObservableVector3d

Represents a point in a 3D coordinate vector that can be observed for changes.

Constructors

  • Creates a new ObservableVector3d instance.

    Parameters

    • x: number = 0

      The x-coordinate of the vector. Default is 0.

    • y: number = 0

      The y-coordinate of the vector. Default is 0.

    • z: number = 0

      The z-coordinate of the vector. Default is 0.

    • Optionalcallback: (() => void)

      The callback function to be called when the point changes. Default is undefined.

        • (): void
        • Returns void

    Returns ObservableVector3d

Accessors

Methods