Lens Scripting API
    Preparing search index...

    Class SpatialAudio

    Hierarchy (View Summary)

    Index

    Properties

    directivityEffect: DirectivityEffect

    Directivity effect settings.

    distanceEffect: DistanceEffect

    Distance effect settings.

    enabled: boolean

    Sets whether spatial audio is enabled or not.

    positionEffect: PositionEffect

    Position effect settings.

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean