Lens Scripting API

    Class SpatialAudio

    Base class for objects representing Script data.

    Unassigned
    

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    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

    MMNEPVFCICPMFPCPTTAAATR