XRHitTestOptionsInit constructor
XRHitTestOptionsInit({
- required XRSpace space,
- Iterable<
XRHitTestTrackableType> ? entityTypes, - 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);