import { VRExperienceHelper } from '@babylonjs/core/Cameras/VR/vrExperienceHelper.js' ; import { CreatedInstance } from '../CreatedInstance' ; import { VRExperienceHelperCustomProps } from '../CustomProps' ; import { FiberVRExperienceHelperProps } from '../generatedProps' ; import BaseLifecycleListener from './BaseLifecycleListener' ; /**
 * This should be replaced entirely with XR version.
 */ export default class VRExperienceHelperLifecycleListener extends BaseLifecycleListener < VRExperienceHelper , FiberVRExperienceHelperProps > { onMount ( instance ) { if ( ( this . props as VRExperienceHelperCustomProps ) . enableInteractions ) { instance . hostInstance ! . enableInteractions ( ) ; } } }