Preparing search index...

    Class SurfaceTouchDataArgsExperimental Wearable Only

    Hierarchy (View Summary)

    Index

    Properties

    confidence: number

    Tracker confidence that the finger is touching the configured plane, in [0, 1]. Values close to 1 indicate a confident touch; lower values indicate uncertainty.

    planeId: number

    Id of the plane this data was computed against, as returned by SurfaceTouchModule#setPlane. Treat it as an opaque token: compare it for equality against the id you received from setPlane to confirm the event corresponds to your plane (the module holds a single shared plane, so another caller's setPlane changes the active id). Only equality is meaningful — do not rely on its magnitude or ordering.

    rayDirectionInWorld: vec3

    Direction of the finger ray in world coordinates. The vector points from SurfaceTouchDataArgs#rayOriginInWorld along the finger toward the touched surface.

    rayOriginInWorld: vec3

    Origin of the finger ray in world coordinates, in centimeters.

    Methods

    • Experimental Wearable Only

      Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().

      Returns string

    • Experimental

      Returns the name of this object's type.

      Returns string

    • 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