XRTransientInputHitTestOptionsInit constructor

XRTransientInputHitTestOptionsInit({
  1. required String profile,
  2. Iterable<XRHitTestTrackableType>? entityTypes,
  3. XRRay? offsetRay,
})

Implementation

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