react-native-webgl-arkit
ARKit camera layer that is interactable with THREE.js WebGL layer on top.
Example of use
// Perspective Camera camera = ; // Ambient Light light = 0xFFFFFF; { const rngl = gl; const drawingBufferWidth: width drawingBufferHeight: height = gl; const renderer = ... ; // See react-native-webgl renderer; // Make the renderer transparent thiscamerawidth = width; // Set width and height of camera thiscameraheight = height; const animate = { // Update camera position thiscameraposition; renderer; ; gl; rngl; }; ; } { return <View> <Camera camera=thiscamera ambientLight=thislight style=StyleSheetabsoluteFill /> <WebGLView style=StyleSheetabsoluteFill onContextCreate=thisonContextCreate /> </View> ; }