Lens Scripting API
    Preparing search index...

    Class WorldOptions

    Holds settings for world mesh and point cloud tracking in DeviceTracking component. Accessible through DeviceTracking.worldOptions. When tracking either world meshes or point clouds, the DeviceTracking component must be set to World mode.

    Hierarchy (View Summary)

    Index

    Properties

    enableWorldMeshesClassificationTracking: boolean

    Enables or disables world mesh classification gathering.

    enableWorldMeshesTracking: boolean

    Enables or disables the generation of world meshes.

    nativePlaneTrackingType: NativePlaneTrackingType
    pointCloudEnabled: boolean

    Enables or disables point cloud tracking.

    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