r3f-xr-widgets / SplashScreenProps
Interface: SplashScreenProps
Defined in: src/components/SplashScreen.tsx:58
Props for the SplashScreen component
Properties
children
children:
ReactNode
Defined in: src/components/SplashScreen.tsx:67
Content to display on the splash screen (typically app title, description, instructions)
modes?
optionalmodes:XRSessionMode[]
Defined in: src/components/SplashScreen.tsx:75
Which XR modes to offer as entry options. Defaults to both VR and AR modes. The component will check browser support and only show buttons for supported modes.
Default
ts
['immersive-vr', 'immersive-ar']store
store:
XRStore
Defined in: src/components/SplashScreen.tsx:62
XR store from @react-three/xr used to manage XR sessions