Audio Loom - v0.3.0
    Preparing search index...

    Interface Vector3

    Platform-agnostic 3D vector for spatial audio positioning. Uses a right-handed coordinate system where:

    • X is right (positive) / left (negative)
    • Y is up (positive) / down (negative)
    • Z is forward (negative) / backward (positive) in WebAudio's default

    Note: WebAudio uses a right-handed coordinate system where negative Z is "forward".

    interface Vector3 {
        x: number;
        y: number;
        z: number;
    }
    Index

    Properties

    x y z

    Properties

    x: number

    X coordinate (horizontal: right is positive)

    y: number

    Y coordinate (vertical: up is positive)

    z: number

    Z coordinate (depth: backward is positive in WebAudio)