XRHitTestOptionsInit constructor

XRHitTestOptionsInit({
  1. required XRSpace space,
  2. Iterable<XRHitTestTrackableType>? entityTypes,
  3. XRRay? offsetRay,
})

Implementation

factory XRHitTestOptionsInit(
        {required XRSpace space,
        Iterable<XRHitTestTrackableType>? entityTypes,
        XRRay? offsetRay}) =>
    XRHitTestOptionsInit._(
        space: space,
        entityTypes: entityTypes?.map((e) => e.value) ?? undefined,
        offsetRay: offsetRay ?? undefined);