Lens Scripting API

    Class WorldQueryExperimental

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Methods

    • Experimental

      Returns the name of this object's type.

      Returns string

    • Experimental

      Try to intersect the ray with the environment. The result is provided asynchronously by invoking the callback function with the WorldQueryHitTestResult object. If the results is null, no intersection of the ray with the environment could be detected.

      Parameters

      Returns WorldQueryHitTestResult

    • Experimental

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

      Parameters

      • type: string

      Returns boolean

    • Experimental

      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