@react-three/drei 10.7.7 → 10.8.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -758
- package/_chunks/hls.mjs +3 -0
- package/_chunks/libs/@mediapipe/tasks-vision.mjs +4781 -0
- package/_chunks/libs/@monogrid/gainmap-js.mjs +1137 -0
- package/_chunks/libs/@use-gesture/core.mjs +1650 -0
- package/_chunks/libs/@use-gesture/react.mjs +207 -0
- package/_chunks/libs/camera-controls.mjs +2207 -0
- package/_chunks/libs/detect-gpu.mjs +515 -0
- package/_chunks/libs/hls.js.mjs +21925 -0
- package/_chunks/libs/maath.mjs +5200 -0
- package/_chunks/libs/stats-gl.mjs +301 -0
- package/_chunks/libs/stats.js.mjs +90 -0
- package/_chunks/libs/suspend-react.mjs +60 -0
- package/_chunks/libs/three.mjs +23169 -0
- package/_chunks/libs/tunnel-rat.mjs +458 -0
- package/_chunks/libs/zustand.mjs +104 -0
- package/_chunks/rolldown-runtime.mjs +47 -0
- package/_chunks/vision_bundle.mjs +3 -0
- package/core/_chunks/hls.mjs +3 -0
- package/core/_chunks/libs/@monogrid/gainmap-js.mjs +1137 -0
- package/core/_chunks/libs/@use-gesture/core.mjs +1650 -0
- package/core/_chunks/libs/@use-gesture/react.mjs +207 -0
- package/core/_chunks/libs/detect-gpu.mjs +515 -0
- package/core/_chunks/libs/hls.js.mjs +21925 -0
- package/core/_chunks/libs/maath.mjs +5200 -0
- package/core/_chunks/libs/stats-gl.mjs +301 -0
- package/core/_chunks/libs/stats.js.mjs +90 -0
- package/core/_chunks/libs/suspend-react.mjs +60 -0
- package/core/_chunks/libs/three.mjs +22457 -0
- package/core/_chunks/libs/tunnel-rat.mjs +458 -0
- package/core/_chunks/libs/zustand.mjs +104 -0
- package/core/_chunks/rolldown-runtime.mjs +47 -0
- package/core/core/index.d.mts +2232 -0
- package/core/core/index.mjs +11082 -0
- package/experimental/_chunks/libs/three.mjs +15386 -0
- package/experimental/experimental/index.d.mts +253 -0
- package/experimental/experimental/index.mjs +434 -0
- package/external/_chunks/hls.mjs +3 -0
- package/external/_chunks/libs/@mediapipe/tasks-vision.mjs +4781 -0
- package/external/_chunks/libs/camera-controls.mjs +2207 -0
- package/external/_chunks/libs/hls.js.mjs +21925 -0
- package/external/_chunks/libs/maath.mjs +5200 -0
- package/external/_chunks/libs/suspend-react.mjs +58 -0
- package/external/_chunks/libs/three.mjs +15387 -0
- package/external/_chunks/rolldown-runtime.mjs +32 -0
- package/external/_chunks/vision_bundle.mjs +3 -0
- package/external/external/index.d.mts +499 -0
- package/external/external/index.mjs +9422 -0
- package/index.d.mts +2567 -0
- package/index.mjs +20571 -0
- package/legacy/_chunks/hls.mjs +3 -0
- package/legacy/_chunks/libs/@monogrid/gainmap-js.mjs +1137 -0
- package/legacy/_chunks/libs/@use-gesture/core.mjs +1650 -0
- package/legacy/_chunks/libs/@use-gesture/react.mjs +207 -0
- package/legacy/_chunks/libs/bidi-js.mjs +675 -0
- package/legacy/_chunks/libs/detect-gpu.mjs +515 -0
- package/legacy/_chunks/libs/hls.js.mjs +21925 -0
- package/legacy/_chunks/libs/maath.mjs +5200 -0
- package/legacy/_chunks/libs/stats-gl.mjs +301 -0
- package/legacy/_chunks/libs/stats.js.mjs +90 -0
- package/legacy/_chunks/libs/suspend-react.mjs +60 -0
- package/legacy/_chunks/libs/three.mjs +26062 -0
- package/legacy/_chunks/libs/troika-three-text.mjs +6494 -0
- package/legacy/_chunks/libs/tunnel-rat.mjs +458 -0
- package/legacy/_chunks/libs/zustand.mjs +104 -0
- package/legacy/_chunks/rolldown-runtime.mjs +47 -0
- package/legacy/legacy/index.d.mts +2788 -0
- package/legacy/legacy/index.mjs +14984 -0
- package/native/_chunks/hls.mjs +3 -0
- package/native/_chunks/libs/@monogrid/gainmap-js.mjs +1137 -0
- package/native/_chunks/libs/@use-gesture/core.mjs +1650 -0
- package/native/_chunks/libs/@use-gesture/react.mjs +207 -0
- package/native/_chunks/libs/detect-gpu.mjs +515 -0
- package/native/_chunks/libs/hls.js.mjs +21925 -0
- package/native/_chunks/libs/maath.mjs +5200 -0
- package/native/_chunks/libs/stats-gl.mjs +301 -0
- package/native/_chunks/libs/stats.js.mjs +90 -0
- package/native/_chunks/libs/suspend-react.mjs +60 -0
- package/native/_chunks/libs/three.mjs +22592 -0
- package/native/_chunks/libs/tunnel-rat.mjs +458 -0
- package/native/_chunks/libs/zustand.mjs +104 -0
- package/native/_chunks/rolldown-runtime.mjs +47 -0
- package/native/native/index.d.mts +3168 -0
- package/native/native/index.mjs +14863 -0
- package/package.json +41 -10
- package/webgpu/_chunks/hls.mjs +3 -0
- package/webgpu/_chunks/libs/@monogrid/gainmap-js.mjs +1137 -0
- package/webgpu/_chunks/libs/@use-gesture/core.mjs +1650 -0
- package/webgpu/_chunks/libs/@use-gesture/react.mjs +207 -0
- package/webgpu/_chunks/libs/detect-gpu.mjs +515 -0
- package/webgpu/_chunks/libs/hls.js.mjs +21925 -0
- package/webgpu/_chunks/libs/maath.mjs +5200 -0
- package/webgpu/_chunks/libs/stats-gl.mjs +301 -0
- package/webgpu/_chunks/libs/stats.js.mjs +90 -0
- package/webgpu/_chunks/libs/suspend-react.mjs +60 -0
- package/webgpu/_chunks/libs/three.mjs +22592 -0
- package/webgpu/_chunks/libs/tunnel-rat.mjs +458 -0
- package/webgpu/_chunks/libs/zustand.mjs +104 -0
- package/webgpu/_chunks/rolldown-runtime.mjs +47 -0
- package/webgpu/webgpu/index.d.mts +3166 -0
- package/webgpu/webgpu/index.mjs +15015 -0
- package/core/AccumulativeShadows.cjs.js +0 -1
- package/core/AccumulativeShadows.d.ts +0 -59
- package/core/AccumulativeShadows.js +0 -310
- package/core/AdaptiveDpr.cjs.js +0 -1
- package/core/AdaptiveDpr.d.ts +0 -3
- package/core/AdaptiveDpr.js +0 -28
- package/core/AdaptiveEvents.cjs.js +0 -1
- package/core/AdaptiveEvents.d.ts +0 -1
- package/core/AdaptiveEvents.js +0 -20
- package/core/ArcballControls.cjs.js +0 -1
- package/core/ArcballControls.d.ts +0 -15
- package/core/ArcballControls.js +0 -67
- package/core/AsciiRenderer.cjs.js +0 -1
- package/core/AsciiRenderer.d.ts +0 -11
- package/core/AsciiRenderer.js +0 -66
- package/core/BBAnchor.cjs.js +0 -1
- package/core/BBAnchor.d.ts +0 -7
- package/core/BBAnchor.js +0 -37
- package/core/Backdrop.cjs.js +0 -1
- package/core/Backdrop.d.ts +0 -15
- package/core/Backdrop.js +0 -33
- package/core/BakeShadows.cjs.js +0 -1
- package/core/BakeShadows.d.ts +0 -1
- package/core/BakeShadows.js +0 -16
- package/core/Billboard.cjs.js +0 -1
- package/core/Billboard.d.ts +0 -10
- package/core/Billboard.js +0 -53
- package/core/Bounds.cjs.js +0 -1
- package/core/Bounds.d.ts +0 -36
- package/core/Bounds.js +0 -254
- package/core/Bvh.cjs.js +0 -1
- package/core/Bvh.d.ts +0 -19
- package/core/Bvh.js +0 -92
- package/core/CameraControls.cjs.js +0 -1
- package/core/CameraControls.d.ts +0 -48
- package/core/CameraControls.js +0 -151
- package/core/CameraShake.cjs.js +0 -1
- package/core/CameraShake.d.ts +0 -17
- package/core/CameraShake.js +0 -57
- package/core/CatmullRomLine.cjs.js +0 -1
- package/core/CatmullRomLine.d.ts +0 -10
- package/core/CatmullRomLine.js +0 -42
- package/core/Caustics.cjs.js +0 -1
- package/core/Caustics.d.ts +0 -32
- package/core/Caustics.js +0 -388
- package/core/Center.cjs.js +0 -1
- package/core/Center.d.ts +0 -33
- package/core/Center.js +0 -67
- package/core/Clone.cjs.js +0 -1
- package/core/Clone.d.ts +0 -15
- package/core/Clone.js +0 -100
- package/core/Cloud.cjs.js +0 -1
- package/core/Cloud.d.ts +0 -97
- package/core/Cloud.js +0 -231
- package/core/ComputedAttribute.cjs.js +0 -1
- package/core/ComputedAttribute.d.ts +0 -8
- package/core/ComputedAttribute.js +0 -33
- package/core/ContactShadows.cjs.js +0 -1
- package/core/ContactShadows.d.ts +0 -18
- package/core/ContactShadows.js +0 -114
- package/core/CubeCamera.cjs.js +0 -1
- package/core/CubeCamera.d.ts +0 -21
- package/core/CubeCamera.js +0 -86
- package/core/CubeTexture.cjs.js +0 -1
- package/core/CubeTexture.d.ts +0 -14
- package/core/CubeTexture.js +0 -25
- package/core/CubicBezierLine.cjs.js +0 -1
- package/core/CubicBezierLine.d.ts +0 -12
- package/core/CubicBezierLine.js +0 -28
- package/core/CurveModifier.cjs.js +0 -1
- package/core/CurveModifier.d.ts +0 -11
- package/core/CurveModifier.js +0 -27
- package/core/Decal.cjs.js +0 -1
- package/core/Decal.d.ts +0 -16
- package/core/Decal.js +0 -128
- package/core/Detailed.cjs.js +0 -1
- package/core/Detailed.d.ts +0 -10
- package/core/Detailed.js +0 -33
- package/core/DetectGPU.cjs.js +0 -1
- package/core/DetectGPU.d.ts +0 -7
- package/core/DetectGPU.js +0 -14
- package/core/DeviceOrientationControls.cjs.js +0 -1
- package/core/DeviceOrientationControls.d.ts +0 -10
- package/core/DeviceOrientationControls.js +0 -51
- package/core/Edges.cjs.js +0 -1
- package/core/Edges.d.ts +0 -13
- package/core/Edges.js +0 -38
- package/core/Effects.cjs.js +0 -1
- package/core/Effects.d.ts +0 -25
- package/core/Effects.js +0 -91
- package/core/Environment.cjs.js +0 -1
- package/core/Environment.d.ts +0 -37
- package/core/Environment.js +0 -189
- package/core/Example.cjs.js +0 -1
- package/core/Example.d.ts +0 -13
- package/core/Example.js +0 -46
- package/core/Fbo.cjs.js +0 -1
- package/core/Fbo.d.ts +0 -22
- package/core/Fbo.js +0 -63
- package/core/Fbx.cjs.js +0 -1
- package/core/Fbx.d.ts +0 -11
- package/core/Fbx.js +0 -23
- package/core/FirstPersonControls.cjs.js +0 -1
- package/core/FirstPersonControls.d.ts +0 -8
- package/core/FirstPersonControls.js +0 -38
- package/core/Fisheye.cjs.js +0 -1
- package/core/Fisheye.d.ts +0 -10
- package/core/Fisheye.js +0 -95
- package/core/Float.cjs.js +0 -1
- package/core/Float.d.ts +0 -14
- package/core/Float.js +0 -37
- package/core/FlyControls.cjs.js +0 -1
- package/core/FlyControls.d.ts +0 -10
- package/core/FlyControls.js +0 -55
- package/core/GizmoHelper.cjs.js +0 -1
- package/core/GizmoHelper.d.ts +0 -16
- package/core/GizmoHelper.js +0 -116
- package/core/GizmoViewcube.cjs.js +0 -1
- package/core/GizmoViewcube.d.ts +0 -14
- package/core/GizmoViewcube.js +0 -133
- package/core/GizmoViewport.cjs.js +0 -1
- package/core/GizmoViewport.d.ts +0 -16
- package/core/GizmoViewport.js +0 -140
- package/core/Gltf.cjs.js +0 -1
- package/core/Gltf.d.ts +0 -27
- package/core/Gltf.js +0 -52
- package/core/GradientTexture.cjs.js +0 -1
- package/core/GradientTexture.d.ts +0 -18
- package/core/GradientTexture.js +0 -54
- package/core/Grid.cjs.js +0 -1
- package/core/Grid.d.ts +0 -26
- package/core/Grid.js +0 -142
- package/core/Helper.cjs.js +0 -1
- package/core/Helper.d.ts +0 -16
- package/core/Helper.js +0 -47
- package/core/Hud.cjs.js +0 -1
- package/core/Hud.d.ts +0 -6
- package/core/Hud.js +0 -55
- package/core/Image.cjs.js +0 -1
- package/core/Image.d.ts +0 -38
- package/core/Image.js +0 -160
- package/core/Instances.cjs.js +0 -1
- package/core/Instances.d.ts +0 -64
- package/core/Instances.js +0 -313
- package/core/Ktx2.cjs.js +0 -1
- package/core/Ktx2.d.ts +0 -14
- package/core/Ktx2.js +0 -48
- package/core/Lightformer.cjs.js +0 -1
- package/core/Lightformer.d.ts +0 -15
- package/core/Lightformer.js +0 -63
- package/core/Line.cjs.js +0 -1
- package/core/Line.d.ts +0 -13
- package/core/Line.js +0 -73
- package/core/MapControls.cjs.js +0 -1
- package/core/MapControls.d.ts +0 -14
- package/core/MapControls.js +0 -63
- package/core/MarchingCubes.cjs.js +0 -1
- package/core/MarchingCubes.d.ts +0 -24
- package/core/MarchingCubes.js +0 -78
- package/core/Mask.cjs.js +0 -1
- package/core/Mask.d.ts +0 -17
- package/core/Mask.js +0 -42
- package/core/MatcapTexture.cjs.js +0 -1
- package/core/MatcapTexture.d.ts +0 -9
- package/core/MatcapTexture.js +0 -51
- package/core/MeshDiscardMaterial.cjs.js +0 -1
- package/core/MeshDiscardMaterial.d.ts +0 -10
- package/core/MeshDiscardMaterial.js +0 -15
- package/core/MeshDistortMaterial.cjs.js +0 -1
- package/core/MeshDistortMaterial.d.ts +0 -39
- package/core/MeshDistortMaterial.js +0 -72
- package/core/MeshPortalMaterial.cjs.js +0 -1
- package/core/MeshPortalMaterial.d.ts +0 -25
- package/core/MeshPortalMaterial.js +0 -467
- package/core/MeshReflectorMaterial.cjs.js +0 -1
- package/core/MeshReflectorMaterial.d.ts +0 -14
- package/core/MeshReflectorMaterial.js +0 -180
- package/core/MeshRefractionMaterial.cjs.js +0 -1
- package/core/MeshRefractionMaterial.d.ts +0 -19
- package/core/MeshRefractionMaterial.js +0 -73
- package/core/MeshTransmissionMaterial.cjs.js +0 -1
- package/core/MeshTransmissionMaterial.d.ts +0 -34
- package/core/MeshTransmissionMaterial.js +0 -402
- package/core/MeshWobbleMaterial.cjs.js +0 -1
- package/core/MeshWobbleMaterial.d.ts +0 -36
- package/core/MeshWobbleMaterial.js +0 -60
- package/core/MotionPathControls.cjs.js +0 -1
- package/core/MotionPathControls.d.ts +0 -33
- package/core/MotionPathControls.js +0 -121
- package/core/MultiMaterial.cjs.js +0 -1
- package/core/MultiMaterial.d.ts +0 -4
- package/core/MultiMaterial.js +0 -29
- package/core/NormalTexture.cjs.js +0 -1
- package/core/NormalTexture.d.ts +0 -14
- package/core/NormalTexture.js +0 -42
- package/core/OrbitControls.cjs.js +0 -1
- package/core/OrbitControls.d.ts +0 -22
- package/core/OrbitControls.js +0 -79
- package/core/OrthographicCamera.cjs.js +0 -1
- package/core/OrthographicCamera.d.ts +0 -14
- package/core/OrthographicCamera.js +0 -76
- package/core/Outlines.cjs.js +0 -1
- package/core/Outlines.d.ts +0 -17
- package/core/Outlines.js +0 -166
- package/core/PerformanceMonitor.cjs.js +0 -1
- package/core/PerformanceMonitor.d.ts +0 -36
- package/core/PerformanceMonitor.js +0 -116
- package/core/PerspectiveCamera.cjs.js +0 -1
- package/core/PerspectiveCamera.d.ts +0 -14
- package/core/PerspectiveCamera.js +0 -72
- package/core/PointMaterial.cjs.js +0 -1
- package/core/PointMaterial.d.ts +0 -8
- package/core/PointMaterial.js +0 -36
- package/core/PointerLockControls.cjs.js +0 -1
- package/core/PointerLockControls.d.ts +0 -15
- package/core/PointerLockControls.js +0 -89
- package/core/Points.cjs.js +0 -1
- package/core/Points.d.ts +0 -31
- package/core/Points.js +0 -202
- package/core/PositionalAudio.cjs.js +0 -1
- package/core/PositionalAudio.d.ts +0 -9
- package/core/PositionalAudio.js +0 -46
- package/core/Preload.cjs.js +0 -1
- package/core/Preload.d.ts +0 -7
- package/core/Preload.js +0 -44
- package/core/Progress.cjs.js +0 -1
- package/core/Progress.d.ts +0 -14
- package/core/Progress.js +0 -55
- package/core/QuadraticBezierLine.cjs.js +0 -1
- package/core/QuadraticBezierLine.d.ts +0 -14
- package/core/QuadraticBezierLine.js +0 -42
- package/core/RenderCubeTexture.cjs.js +0 -1
- package/core/RenderCubeTexture.d.ts +0 -30
- package/core/RenderCubeTexture.js +0 -96
- package/core/RenderTexture.cjs.js +0 -1
- package/core/RenderTexture.d.ts +0 -18
- package/core/RenderTexture.js +0 -105
- package/core/Resize.cjs.js +0 -1
- package/core/Resize.d.ts +0 -17
- package/core/Resize.js +0 -39
- package/core/RoundedBox.cjs.js +0 -1
- package/core/RoundedBox.d.ts +0 -14
- package/core/RoundedBox.js +0 -70
- package/core/Sampler.cjs.js +0 -1
- package/core/Sampler.d.ts +0 -28
- package/core/Sampler.js +0 -75
- package/core/ScreenQuad.cjs.js +0 -1
- package/core/ScreenQuad.d.ts +0 -5
- package/core/ScreenQuad.js +0 -25
- package/core/ScreenSizer.cjs.js +0 -1
- package/core/ScreenSizer.d.ts +0 -7
- package/core/ScreenSizer.js +0 -39
- package/core/ScreenSpace.cjs.js +0 -1
- package/core/ScreenSpace.d.ts +0 -7
- package/core/ScreenSpace.js +0 -25
- package/core/Segments.cjs.js +0 -1
- package/core/Segments.d.ts +0 -29
- package/core/Segments.js +0 -96
- package/core/Shadow.cjs.js +0 -1
- package/core/Shadow.d.ts +0 -12
- package/core/Shadow.js +0 -42
- package/core/ShadowAlpha.cjs.js +0 -1
- package/core/ShadowAlpha.d.ts +0 -7
- package/core/ShadowAlpha.js +0 -108
- package/core/Sky.cjs.js +0 -1
- package/core/Sky.d.ts +0 -16
- package/core/Sky.js +0 -39
- package/core/Sparkles.cjs.js +0 -1
- package/core/Sparkles.d.ts +0 -26
- package/core/Sparkles.js +0 -161
- package/core/Splat.cjs.js +0 -1
- package/core/Splat.d.ts +0 -56
- package/core/Splat.js +0 -506
- package/core/SpotLight.cjs.js +0 -1
- package/core/SpotLight.d.ts +0 -27
- package/core/SpotLight.js +0 -223
- package/core/SpriteAnimator.cjs.js +0 -1
- package/core/SpriteAnimator.d.ts +0 -88
- package/core/SpriteAnimator.js +0 -413
- package/core/Stage.cjs.js +0 -1
- package/core/Stage.d.ts +0 -27
- package/core/Stage.js +0 -133
- package/core/Stars.cjs.js +0 -1
- package/core/Stars.d.ts +0 -22
- package/core/Stars.js +0 -100
- package/core/Stats.cjs.js +0 -1
- package/core/Stats.d.ts +0 -7
- package/core/Stats.js +0 -32
- package/core/StatsGl.cjs.js +0 -1
- package/core/StatsGl.d.ts +0 -14
- package/core/StatsGl.js +0 -44
- package/core/Svg.cjs.js +0 -1
- package/core/Svg.d.ts +0 -13
- package/core/Svg.js +0 -62
- package/core/Text.cjs.js +0 -1
- package/core/Text.d.ts +0 -38
- package/core/Text.js +0 -57
- package/core/Text3D.cjs.js +0 -1
- package/core/Text3D.d.ts +0 -20
- package/core/Text3D.js +0 -74
- package/core/Texture.cjs.js +0 -1
- package/core/Texture.d.ts +0 -20
- package/core/Texture.js +0 -60
- package/core/TrackballControls.cjs.js +0 -1
- package/core/TrackballControls.d.ts +0 -15
- package/core/TrackballControls.js +0 -72
- package/core/Trail.cjs.js +0 -1
- package/core/Trail.d.ts +0 -21
- package/core/Trail.js +0 -150
- package/core/TrailTexture.cjs.js +0 -1
- package/core/TrailTexture.d.ts +0 -19
- package/core/TrailTexture.js +0 -159
- package/core/TransformControls.cjs.js +0 -1
- package/core/TransformControls.d.ts +0 -28
- package/core/TransformControls.js +0 -114
- package/core/VideoTexture.cjs.js +0 -1
- package/core/VideoTexture.d.ts +0 -26
- package/core/VideoTexture.js +0 -111
- package/core/Wireframe.cjs.js +0 -1
- package/core/Wireframe.d.ts +0 -15
- package/core/Wireframe.js +0 -157
- package/core/calculateScaleFactor.cjs.js +0 -1
- package/core/calculateScaleFactor.d.ts +0 -3
- package/core/calculateScaleFactor.js +0 -31
- package/core/index.cjs.js +0 -1
- package/core/index.d.ts +0 -122
- package/core/index.js +0 -150
- package/core/meshBounds.cjs.js +0 -1
- package/core/meshBounds.d.ts +0 -2
- package/core/meshBounds.js +0 -28
- package/core/shaderMaterial.cjs.js +0 -1
- package/core/shaderMaterial.d.ts +0 -9
- package/core/shaderMaterial.js +0 -29
- package/core/shapes.cjs.js +0 -1
- package/core/shapes.d.ts +0 -26
- package/core/shapes.js +0 -65
- package/core/softShadows.cjs.js +0 -1
- package/core/softShadows.d.ts +0 -6
- package/core/softShadows.js +0 -158
- package/core/useAnimations.cjs.js +0 -1
- package/core/useAnimations.d.ts +0 -13
- package/core/useAnimations.js +0 -52
- package/core/useAspect.cjs.js +0 -1
- package/core/useAspect.d.ts +0 -1
- package/core/useAspect.js +0 -10
- package/core/useBoxProjectedEnv.cjs.js +0 -1
- package/core/useBoxProjectedEnv.d.ts +0 -19
- package/core/useBoxProjectedEnv.js +0 -95
- package/core/useCamera.cjs.js +0 -1
- package/core/useCamera.d.ts +0 -3
- package/core/useCamera.js +0 -19
- package/core/useContextBridge.cjs.js +0 -1
- package/core/useContextBridge.d.ts +0 -4
- package/core/useContextBridge.js +0 -20
- package/core/useDepthBuffer.cjs.js +0 -1
- package/core/useDepthBuffer.d.ts +0 -6
- package/core/useDepthBuffer.js +0 -38
- package/core/useEnvironment.cjs.js +0 -1
- package/core/useEnvironment.d.ts +0 -17
- package/core/useEnvironment.js +0 -150
- package/core/useFont.cjs.js +0 -1
- package/core/useFont.d.ts +0 -24
- package/core/useFont.js +0 -24
- package/core/useIntersect.cjs.js +0 -1
- package/core/useIntersect.d.ts +0 -3
- package/core/useIntersect.js +0 -36
- package/core/useSpriteLoader.cjs.js +0 -1
- package/core/useSpriteLoader.d.ts +0 -57
- package/core/useSpriteLoader.js +0 -402
- package/helpers/constants.cjs.js +0 -1
- package/helpers/constants.d.ts +0 -1
- package/helpers/constants.js +0 -6
- package/helpers/deprecated.cjs.js +0 -1
- package/helpers/deprecated.d.ts +0 -5
- package/helpers/deprecated.js +0 -8
- package/helpers/environment-assets.cjs.js +0 -1
- package/helpers/environment-assets.d.ts +0 -13
- package/helpers/environment-assets.js +0 -14
- package/helpers/glsl/DefaultSpotlightShadowShadows.glsl.js +0 -3
- package/helpers/glsl/distort.vert.glsl.js +0 -3
- package/helpers/ts-utils.cjs.js +0 -1
- package/helpers/ts-utils.d.ts +0 -7
- package/helpers/ts-utils.js +0 -1
- package/helpers/useEffectfulState.cjs.js +0 -1
- package/helpers/useEffectfulState.d.ts +0 -4
- package/helpers/useEffectfulState.js +0 -17
- package/index.cjs.js +0 -1
- package/index.d.ts +0 -1
- package/index.js +0 -139
- package/materials/BlurPass.cjs.js +0 -1
- package/materials/BlurPass.d.ts +0 -23
- package/materials/BlurPass.js +0 -72
- package/materials/ConvolutionMaterial.cjs.js +0 -1
- package/materials/ConvolutionMaterial.d.ts +0 -7
- package/materials/ConvolutionMaterial.js +0 -97
- package/materials/DiscardMaterial.cjs.js +0 -1
- package/materials/DiscardMaterial.d.ts +0 -3
- package/materials/DiscardMaterial.js +0 -5
- package/materials/MeshReflectorMaterial.cjs.js +0 -1
- package/materials/MeshReflectorMaterial.d.ts +0 -50
- package/materials/MeshReflectorMaterial.js +0 -256
- package/materials/MeshRefractionMaterial.cjs.js +0 -1
- package/materials/MeshRefractionMaterial.d.ts +0 -18
- package/materials/MeshRefractionMaterial.js +0 -163
- package/materials/SpotLightMaterial.cjs.js +0 -1
- package/materials/SpotLightMaterial.d.ts +0 -4
- package/materials/SpotLightMaterial.js +0 -115
- package/materials/WireframeMaterial.cjs.js +0 -1
- package/materials/WireframeMaterial.d.ts +0 -64
- package/materials/WireframeMaterial.js +0 -217
- package/native/index.cjs.js +0 -1
- package/native/index.d.ts +0 -1
- package/native/index.js +0 -150
- package/web/CycleRaycast.cjs.js +0 -1
- package/web/CycleRaycast.d.ts +0 -10
- package/web/CycleRaycast.js +0 -93
- package/web/DragControls.cjs.js +0 -1
- package/web/DragControls.d.ts +0 -17
- package/web/DragControls.js +0 -127
- package/web/FaceControls.cjs.js +0 -1
- package/web/FaceControls.d.ts +0 -29
- package/web/FaceControls.js +0 -236
- package/web/FaceLandmarker.cjs.js +0 -1
- package/web/FaceLandmarker.d.ts +0 -14
- package/web/FaceLandmarker.js +0 -49
- package/web/Facemesh.cjs.js +0 -1
- package/web/Facemesh.d.ts +0 -118
- package/web/Facemesh.js +0 -4538
- package/web/Html.cjs.js +0 -1
- package/web/Html.d.ts +0 -34
- package/web/Html.js +0 -375
- package/web/KeyboardControls.cjs.js +0 -1
- package/web/KeyboardControls.d.ts +0 -37
- package/web/KeyboardControls.js +0 -104
- package/web/Loader.cjs.js +0 -1
- package/web/Loader.d.ts +0 -12
- package/web/Loader.js +0 -101
- package/web/PresentationControls.cjs.js +0 -1
- package/web/PresentationControls.d.ts +0 -16
- package/web/PresentationControls.js +0 -79
- package/web/ScreenVideoTexture.cjs.js +0 -1
- package/web/ScreenVideoTexture.d.ts +0 -17
- package/web/ScreenVideoTexture.js +0 -30
- package/web/ScrollControls.cjs.js +0 -1
- package/web/ScrollControls.d.ts +0 -45
- package/web/ScrollControls.js +0 -237
- package/web/Select.cjs.js +0 -1
- package/web/Select.d.ts +0 -14
- package/web/Select.js +0 -171
- package/web/View.cjs.js +0 -1
- package/web/View.d.ts +0 -34
- package/web/View.js +0 -259
- package/web/WebcamVideoTexture.cjs.js +0 -1
- package/web/WebcamVideoTexture.d.ts +0 -17
- package/web/WebcamVideoTexture.js +0 -33
- package/web/index.cjs.js +0 -1
- package/web/index.d.ts +0 -17
- package/web/index.js +0 -176
- package/web/pivotControls/AxisArrow.cjs.js +0 -1
- package/web/pivotControls/AxisArrow.d.ts +0 -7
- package/web/pivotControls/AxisArrow.js +0 -193
- package/web/pivotControls/AxisRotator.cjs.js +0 -1
- package/web/pivotControls/AxisRotator.d.ts +0 -7
- package/web/pivotControls/AxisRotator.js +0 -220
- package/web/pivotControls/PlaneSlider.cjs.js +0 -1
- package/web/pivotControls/PlaneSlider.d.ts +0 -7
- package/web/pivotControls/PlaneSlider.js +0 -202
- package/web/pivotControls/ScalingSphere.cjs.js +0 -1
- package/web/pivotControls/ScalingSphere.d.ts +0 -7
- package/web/pivotControls/ScalingSphere.js +0 -192
- package/web/pivotControls/context.cjs.js +0 -1
- package/web/pivotControls/context.d.ts +0 -33
- package/web/pivotControls/context.js +0 -5
- package/web/pivotControls/index.cjs.js +0 -1
- package/web/pivotControls/index.d.ts +0 -39
- package/web/pivotControls/index.js +0 -213
- package/web/useCursor.cjs.js +0 -1
- package/web/useCursor.d.ts +0 -1
- package/web/useCursor.js +0 -12
package/README.md
CHANGED
|
@@ -6,6 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
[](https://codesandbox.io/s/bfplr)
|
|
8
8
|
|
|
9
|
+
> [!WARNING] > **v11 Alpha** — This package is currently in **alpha** for v11. APIs, files, and features are **subject to change**.
|
|
10
|
+
>
|
|
11
|
+
> 📖 **[Migration Guide](./devDocs/MIGRATION_V10_TO_V11.md)** — Start here for upgrade instructions
|
|
12
|
+
>
|
|
13
|
+
> - 🐛 [Report an issue](https://github.com/pmndrs/drei/issues/new) — Found a bug? Let us know
|
|
14
|
+
> - 💬 [Join the discussion](https://github.com/pmndrs/drei/discussions) — Questions or ideas
|
|
15
|
+
> - 📋 [Track progress](https://github.com/pmndrs/drei/milestone/2) — See what's coming
|
|
16
|
+
>
|
|
17
|
+
> ⚠️ **This alpha bundles @react-three/fiber v10** until R3F v10 is published to NPM.
|
|
18
|
+
> Remove any existing `@react-three/fiber` from your dependencies before testing.
|
|
19
|
+
|
|
9
20
|
A growing collection of useful helpers and fully functional, ready-made abstractions for [@react-three/fiber](https://github.com/pmndrs/react-three-fiber).
|
|
10
21
|
|
|
11
22
|
If you make a component that is generic enough to be useful to others, think about [CONTRIBUTING](CONTRIBUTING.md)!
|
|
@@ -14,15 +25,50 @@ If you make a component that is generic enough to be useful to others, think abo
|
|
|
14
25
|
npm install @react-three/drei
|
|
15
26
|
```
|
|
16
27
|
|
|
17
|
-
> [!IMPORTANT]
|
|
18
|
-
|
|
28
|
+
> [!IMPORTANT] > **v11 is ESM-only.** We no longer ship CommonJS bundles. This follows the ecosystem-wide shift to ESM as the standard — matching `@react-three/fiber`, Three.js, and [Storybook 10](https://storybook.js.org/blog/storybook-is-going-esm-only/). All modern bundlers handle ESM natively.
|
|
29
|
+
|
|
30
|
+
> [!NOTE] > ~~This package is using the stand-alone [`three-stdlib`](https://github.com/pmndrs/three-stdlib) instead of [`three/examples/jsm`](https://github.com/mrdoob/three.js/tree/master/examples/jsm).~~
|
|
31
|
+
> Reliance on STD-Lib has been removed with v11. The threejs repo and @types folks are doing a much better job and supporting/working with core on these common assets serves us better.
|
|
32
|
+
|
|
33
|
+
New scripts, components, shaders, can be addded here in this repo or in the upcoming market.
|
|
19
34
|
|
|
20
35
|
## Basic usage
|
|
21
36
|
|
|
37
|
+
### Standard Import (Recommended)
|
|
38
|
+
|
|
39
|
+
```jsx
|
|
40
|
+
import { PerspectiveCamera, OrbitControls, Environment } from '@react-three/drei'
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
The root import includes renderer-agnostic components (core + external + experimental).
|
|
44
|
+
|
|
45
|
+
### Entry Points (v11+)
|
|
46
|
+
|
|
47
|
+
Drei v11 introduces multiple entry points for better tree-shaking and renderer-specific code:
|
|
48
|
+
|
|
22
49
|
```jsx
|
|
23
|
-
|
|
50
|
+
// Renderer-agnostic components (works with both WebGL and WebGPU)
|
|
51
|
+
import { OrbitControls, Environment } from '@react-three/drei' // All
|
|
52
|
+
import { OrbitControls } from '@react-three/drei/core' // Core only
|
|
53
|
+
import { Bvh } from '@react-three/drei/external' // External wrappers
|
|
54
|
+
import { MarchingCubes } from '@react-three/drei/experimental' // Experimental
|
|
55
|
+
|
|
56
|
+
// Platform-specific components
|
|
57
|
+
import { MeshDistortMaterial, Fbo } from '@react-three/drei/legacy' // WebGL only
|
|
58
|
+
import { MeshDistortMaterial, Fbo } from '@react-three/drei/webgpu' // WebGPU only
|
|
24
59
|
```
|
|
25
60
|
|
|
61
|
+
**When to use each:**
|
|
62
|
+
|
|
63
|
+
- **Root import**: Best for most projects, includes all renderer-agnostic components
|
|
64
|
+
- **/core**: Smallest bundle, production-ready components only
|
|
65
|
+
- **/external**: External library wrappers (Bvh, CameraControls, etc.)
|
|
66
|
+
- **/experimental**: Rough/experimental features
|
|
67
|
+
- **/legacy**: WebGL-specific implementations (GLSL materials, WebGLRenderTarget)
|
|
68
|
+
- **/webgpu**: WebGPU-specific implementations (TSL materials, WebGPU render targets)
|
|
69
|
+
|
|
70
|
+
See [MIGRATION_V10_TO_V11.md](MIGRATION_V10_TO_V11.md) for details.
|
|
71
|
+
|
|
26
72
|
## React-native
|
|
27
73
|
|
|
28
74
|
```jsx
|
|
@@ -42,761 +88,6 @@ https://pmndrs.github.io/drei
|
|
|
42
88
|
> Below is an archive of the anchors links with their new respective locations to the documentation website.
|
|
43
89
|
> Do not update the links below, they are for reference only.
|
|
44
90
|
|
|
45
|
-
<!-- <table>
|
|
46
|
-
<tr>
|
|
47
|
-
<td valign="top">
|
|
48
|
-
<ul>
|
|
49
|
-
<li><a href="#cameras">Cameras</a></li>
|
|
50
|
-
<ul>
|
|
51
|
-
<li><a href="#perspectivecamera">PerspectiveCamera</a></li>
|
|
52
|
-
<li><a href="#orthographiccamera">OrthographicCamera</a></li>
|
|
53
|
-
<li><a href="#cubecamera">CubeCamera</a></li>
|
|
54
|
-
</ul>
|
|
55
|
-
<li><a href="#controls">Controls</a></li>
|
|
56
|
-
<ul>
|
|
57
|
-
<li><a href="#cameracontrols">CameraControls</a></li>
|
|
58
|
-
<li><a href="#controls">FlyControls</a></li>
|
|
59
|
-
<li><a href="#controls">MapControls</a></li>
|
|
60
|
-
<li><a href="#controls">DeviceOrientationControls</a></li>
|
|
61
|
-
<li><a href="#controls">TrackballControls</a></li>
|
|
62
|
-
<li><a href="#controls">ArcballControls</a></li>
|
|
63
|
-
<li><a href="#controls">PointerLockControls</a></li>
|
|
64
|
-
<li><a href="#controls">FirstPersonControls</a></li>
|
|
65
|
-
<li><a href="#scrollcontrols">ScrollControls</a></li>
|
|
66
|
-
<li><a href="#presentationcontrols">PresentationControls</a></li>
|
|
67
|
-
<li><a href="#keyboardcontrols">KeyboardControls</a></li>
|
|
68
|
-
<li><a href="#FaceControls">FaceControls</a></li>
|
|
69
|
-
<li><a href="#motionpathcontrols">MotionPathControls</a></li>
|
|
70
|
-
</ul>
|
|
71
|
-
<li><a href="#gizmos">Gizmos</a></li>
|
|
72
|
-
<ul>
|
|
73
|
-
<li><a href="#gizmohelper">GizmoHelper</a></li>
|
|
74
|
-
<li><a href="#pivotcontrols">PivotControls</a></li>
|
|
75
|
-
<li><a href="#dragcontrols">DragControls</a></li>
|
|
76
|
-
<li><a href="#transformcontrols">TransformControls</a></li>
|
|
77
|
-
<li><a href="#grid">Grid</a></li>
|
|
78
|
-
<li><a href="#helper--usehelper">Helper / useHelper</a></li>
|
|
79
|
-
<li><a href="#helper">Helper</a></li>
|
|
80
|
-
</ul>
|
|
81
|
-
<li><a href="#abstractions">Abstractions</a></li>
|
|
82
|
-
<ul>
|
|
83
|
-
<li><a href="#image">Image</a></li>
|
|
84
|
-
<li><a href="#text">Text</a></li>
|
|
85
|
-
<li><a href="#text3d">Text3D</a></li>
|
|
86
|
-
<li><a href="#positionalaudio">PositionalAudio</a></li>
|
|
87
|
-
<li><a href="#billboard">Billboard</a></li>
|
|
88
|
-
<li><a href="#screenspace">ScreenSpace</a></li>
|
|
89
|
-
<li><a href="#screensizer">ScreenSizer</a></li>
|
|
90
|
-
<li><a href="#effects">Effects</a></li>
|
|
91
|
-
<li><a href="#gradienttexture">GradientTexture</a></li>
|
|
92
|
-
<li><a href="#edges">Edges</a></li>
|
|
93
|
-
<li><a href="#outlines">Outlines</a></li>
|
|
94
|
-
<li><a href="#trail">Trail</a></li>
|
|
95
|
-
<li><a href="#sampler">Sampler</a></li>
|
|
96
|
-
<li><a href="#computedattribute">ComputedAttribute</a></li>
|
|
97
|
-
<li><a href="#clone">Clone</a></li>
|
|
98
|
-
<li><a href="#useanimations">useAnimations</a></li>
|
|
99
|
-
<li><a href="#marchingcubes">MarchingCubes</a></li>
|
|
100
|
-
<li><a href="#decal">Decal</a></li>
|
|
101
|
-
<li><a href="#svg">Svg</a></li>
|
|
102
|
-
<li><a href="#gltf">Gltf</a></li>
|
|
103
|
-
<li><a href="#asciirenderer">AsciiRenderer</a></li>
|
|
104
|
-
<li><a href="#splat">Splat</a></li>
|
|
105
|
-
</ul>
|
|
106
|
-
<li><a href="#shaders">Shaders</a></li>
|
|
107
|
-
<ul>
|
|
108
|
-
<li><a href="#meshreflectormaterial">MeshReflectorMaterial</a></li>
|
|
109
|
-
<li><a href="#meshwobblematerial">MeshWobbleMaterial</a></li>
|
|
110
|
-
<li><a href="#meshdistortmaterial">MeshDistortMaterial</a></li>
|
|
111
|
-
<li><a href="#meshrefractionmaterial">MeshRefractionMaterial</a></li>
|
|
112
|
-
<li><a href="#meshtransmissionmaterial">MeshTransmissionMaterial</a></li>
|
|
113
|
-
<li><a href="#meshdiscardmaterial">MeshDiscardMaterial</a></li>
|
|
114
|
-
<li><a href="#pointmaterial">PointMaterial</a></li>
|
|
115
|
-
<li><a href="#softshadows">SoftShadows</a></li>
|
|
116
|
-
<li><a href="#shadermaterial">shaderMaterial</a></li>
|
|
117
|
-
</ul>
|
|
118
|
-
</ul>
|
|
119
|
-
</td>
|
|
120
|
-
<td valign="top">
|
|
121
|
-
<ul>
|
|
122
|
-
<li><a href="#misc">Misc</a></li>
|
|
123
|
-
<ul>
|
|
124
|
-
<li><a href="#example">Example</a></li>
|
|
125
|
-
<li><a href="#html">Html</a></li>
|
|
126
|
-
<li><a href="#cycleraycast">CycleRaycast</a></li>
|
|
127
|
-
<li><a href="#select">Select</a></li>
|
|
128
|
-
<li><a href="#sprite-animator">Sprite Animator</a></li>
|
|
129
|
-
<li><a href="#stats">Stats</a></li>
|
|
130
|
-
<li><a href="#stats-gl">StatsGl</a></li>
|
|
131
|
-
<li><a href="#wireframe">Wireframe</a></li>
|
|
132
|
-
<li><a href="#usedepthbuffer">useDepthBuffer</a></li>
|
|
133
|
-
<li><a href="#usecontextbridge">useContextBridge</a></li>
|
|
134
|
-
<li><a href="#fbo--usefbo">Fbo / useFBO</a></li>
|
|
135
|
-
<li><a href="#usecamera">useCamera</a></li>
|
|
136
|
-
<li><a href="#cubecamera--usecubecamera">CubeCamera / useCubeCamera</a></li>
|
|
137
|
-
<li><a href="#detectgpu--usedetectgpu">DetectGPU / useDetectGPU</a></li>
|
|
138
|
-
<li><a href="#useaspect">useAspect</a></li>
|
|
139
|
-
<li><a href="#usecursor">useCursor</a></li>
|
|
140
|
-
<li><a href="#useintersect">useIntersect</a></li>
|
|
141
|
-
<li><a href="#useboxprojectedenv">useBoxProjectedEnv</a></li>
|
|
142
|
-
<li><a href="#trail--useTrail">Trail / useTrail</a></li>
|
|
143
|
-
<li><a href="#useSurfaceSampler">useSurfaceSampler</a></li>
|
|
144
|
-
<li><a href="#facelandmarker">FaceLandmarker</a></li>
|
|
145
|
-
</ul>
|
|
146
|
-
<li><a href="#loading">Loaders</a></li>
|
|
147
|
-
<ul>
|
|
148
|
-
<li><a href="#loader">Loader</a></li>
|
|
149
|
-
<li><a href="#progress--useprogress">Progress / useProgress</a></li>
|
|
150
|
-
<li><a href="#gltf--usegltf">Gltf / useGLTF</a></li>
|
|
151
|
-
<li><a href="#fbx--usefbx">FBX / useFBX</a></li>
|
|
152
|
-
<li><a href="#texture--usetexture">Texture / useTexture</a></li>
|
|
153
|
-
<li><a href="#ktx2--usektx2">Ktx2 / useKTX2</a></li>
|
|
154
|
-
<li><a href="#cubetexture--usecubetexture">CubeTexture / useCubeTexture</a></li>
|
|
155
|
-
<li><a href="#videotexture--usevideotexture">VideoTexture / useVideoTexture</a></li>
|
|
156
|
-
<li><a href="#trailtexture--usetrailtexture">TrailTexture / useTrailTexture</a></li>
|
|
157
|
-
<li><a href="#usefont">useFont</a></li>
|
|
158
|
-
<li><a href="#usespriteloader">useSpriteLoader</a></li>
|
|
159
|
-
</ul>
|
|
160
|
-
<li><a href="#performance">Performance</a></li>
|
|
161
|
-
<ul>
|
|
162
|
-
<li><a href="#instances">Instances</a></li>
|
|
163
|
-
<li><a href="#merged">Merged</a></li>
|
|
164
|
-
<li><a href="#points">Points</a></li>
|
|
165
|
-
<li><a href="#segments">Segments</a></li>
|
|
166
|
-
<li><a href="#detailed">Detailed</a></li>
|
|
167
|
-
<li><a href="#preload">Preload</a></li>
|
|
168
|
-
<li><a href="#bakeshadows">BakeShadows</a></li>
|
|
169
|
-
<li><a href="#meshbounds">meshBounds</a></li>
|
|
170
|
-
<li><a href="#adaptivedpr">AdaptiveDpr</a></li>
|
|
171
|
-
<li><a href="#adaptiveevents">AdaptiveEvents</a></li>
|
|
172
|
-
<li><a href="#bvh">Bvh</a></li>
|
|
173
|
-
<li><a href="#performancemonitor">PerformanceMonitor</a></li>
|
|
174
|
-
</ul>
|
|
175
|
-
<li><a href="#portals">Portals</a></li>
|
|
176
|
-
<ul>
|
|
177
|
-
<li><a href="#hud">Hud</a></li>
|
|
178
|
-
<li><a href="#view">View</a></li>
|
|
179
|
-
<li><a href="#rendertexture">RenderTexture</a></li>
|
|
180
|
-
<li><a href="#rendercubetexture">RenderCubeTexture</a></li>
|
|
181
|
-
<li><a href="#fisheye">Fisheye</a></li>
|
|
182
|
-
<li><a href="#mask">Mask</a></li>
|
|
183
|
-
<li><a href="#meshportalmaterial">MeshPortalMaterial</a></li>
|
|
184
|
-
</ul>
|
|
185
|
-
<li><a href="#modifiers">Modifiers</a></li>
|
|
186
|
-
<ul>
|
|
187
|
-
<li><a href="#curvemodifier">CurveModifier</a></li>
|
|
188
|
-
</ul>
|
|
189
|
-
</ul>
|
|
190
|
-
</td>
|
|
191
|
-
<td valign="top">
|
|
192
|
-
<ul>
|
|
193
|
-
<li><a href="#shapes">Shapes</a></li>
|
|
194
|
-
<ul>
|
|
195
|
-
<li><a href="#shapes">Plane</a></li>
|
|
196
|
-
<li><a href="#shapes">Box</a></li>
|
|
197
|
-
<li><a href="#shapes">Sphere</a></li>
|
|
198
|
-
<li><a href="#shapes">Circle</a></li>
|
|
199
|
-
<li><a href="#shapes">Cone</a></li>
|
|
200
|
-
<li><a href="#shapes">Cylinder</a></li>
|
|
201
|
-
<li><a href="#shapes">Tube</a></li>
|
|
202
|
-
<li><a href="#shapes">Torus</a></li>
|
|
203
|
-
<li><a href="#shapes">TorusKnot</a></li>
|
|
204
|
-
<li><a href="#shapes">Ring</a></li>
|
|
205
|
-
<li><a href="#shapes">Tetrahedron</a></li>
|
|
206
|
-
<li><a href="#shapes">Polyhedron</a></li>
|
|
207
|
-
<li><a href="#shapes">Icosahedron</a></li>
|
|
208
|
-
<li><a href="#shapes">Octahedron</a></li>
|
|
209
|
-
<li><a href="#shapes">Dodecahedron</a></li>
|
|
210
|
-
<li><a href="#shapes">Extrude</a></li>
|
|
211
|
-
<li><a href="#shapes">Lathe</a></li>
|
|
212
|
-
<li><a href="#shapes">Shape</a></li>
|
|
213
|
-
<li><a href="#roundedbox">RoundedBox</a></li>
|
|
214
|
-
<li><a href="#screenquad">Screenquad</a></li>
|
|
215
|
-
<li><a href="#line">Line</a></li>
|
|
216
|
-
<li><a href="#quadraticbezierline">QuadraticBezierLine</a></li>
|
|
217
|
-
<li><a href="#cubicbezierline">CubicBezierLine</a></li>
|
|
218
|
-
<li><a href="#catmullromline">CatmullRomLine</a></li>
|
|
219
|
-
<li><a href="#facemesh">Facemesh</a></li>
|
|
220
|
-
</ul>
|
|
221
|
-
<li><a href="#staging">Staging</a></li>
|
|
222
|
-
<ul>
|
|
223
|
-
<li><a href="#center">Center</a></li>
|
|
224
|
-
<li><a href="#resize">Resize</a></li>
|
|
225
|
-
<li><a href="#BBAnchor">BBAnchor</a></li>
|
|
226
|
-
<li><a href="#bounds">Bounds</a></li>
|
|
227
|
-
<li><a href="#camerashake">CameraShake</a></li>
|
|
228
|
-
<li><a href="#float">Float</a></li>
|
|
229
|
-
<li><a href="#stage">Stage</a></li>
|
|
230
|
-
<li><a href="#backdrop">Backdrop</a></li>
|
|
231
|
-
<li><a href="#environment">Environment</a></li>
|
|
232
|
-
<li><a href="#lightformer">Lightformer</a></li>
|
|
233
|
-
<li><a href="#spotlight">SpotLight</a></li>
|
|
234
|
-
<li><a href="#spotlightshadow">SpotLightShadow</a></li>
|
|
235
|
-
<li><a href="#shadow">Shadow</a></li>
|
|
236
|
-
<li><a href="#caustics">Caustics</a></li>
|
|
237
|
-
<li><a href="#contactshadows">ContactShadows</a></li>
|
|
238
|
-
<li><a href="#randomizedlight">RandomizedLight</a></li>
|
|
239
|
-
<li><a href="#accumulativeshadows">AccumulativeShadows</a></li>
|
|
240
|
-
<li><a href="#sky">Sky</a></li>
|
|
241
|
-
<li><a href="#stars">Stars</a></li>
|
|
242
|
-
<li><a href="#sparkles">Sparkles</a></li>
|
|
243
|
-
<li><a href="#cloud">Cloud</a></li>
|
|
244
|
-
<li><a href="#useenvironment">useEnvironment</a></li>
|
|
245
|
-
<li><a href="#matcaptexture--usematcaptexture">MatcapTexture / useMatcapTexture</a></li>
|
|
246
|
-
<li><a href="#normaltexture--usenormaltexture">NormalTexture / useNormalTexture</a></li>
|
|
247
|
-
<li><a href="#shadowalpha">ShadowAlpha</a></li>
|
|
248
|
-
</ul>
|
|
249
|
-
</ul>
|
|
250
|
-
</td>
|
|
251
|
-
</tr>
|
|
252
|
-
</table> -->
|
|
253
|
-
|
|
254
|
-
### Cameras
|
|
255
|
-
|
|
256
|
-
#### PerspectiveCamera
|
|
257
|
-
|
|
258
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/cameras/perspective-camera)
|
|
259
|
-
|
|
260
|
-
#### OrthographicCamera
|
|
261
|
-
|
|
262
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/cameras/orthographic-camera)
|
|
263
|
-
|
|
264
|
-
#### CubeCamera
|
|
265
|
-
|
|
266
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/cameras/cube-camera)
|
|
267
|
-
|
|
268
|
-
### Controls
|
|
269
|
-
|
|
270
|
-
#### CameraControls
|
|
271
|
-
|
|
272
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/controls/camera-controls)
|
|
273
|
-
|
|
274
|
-
#### ScrollControls
|
|
275
|
-
|
|
276
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/controls/scroll-controls)
|
|
277
|
-
|
|
278
|
-
#### PresentationControls
|
|
279
|
-
|
|
280
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/controls/presentation-controls)
|
|
281
|
-
|
|
282
|
-
#### KeyboardControls
|
|
283
|
-
|
|
284
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/controls/keyboard-controls)
|
|
285
|
-
|
|
286
|
-
#### FaceControls
|
|
287
|
-
|
|
288
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/controls/face-controls)
|
|
289
|
-
|
|
290
|
-
#### MotionPathControls
|
|
291
|
-
|
|
292
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/controls/motion-path-controls)
|
|
293
|
-
|
|
294
|
-
### Gizmos
|
|
295
|
-
|
|
296
|
-
#### GizmoHelper
|
|
297
|
-
|
|
298
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/gizmos/gizmo-helper)
|
|
299
|
-
|
|
300
|
-
#### PivotControls
|
|
301
|
-
|
|
302
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/gizmos/pivot-controls)
|
|
303
|
-
|
|
304
|
-
#### DragControls
|
|
305
|
-
|
|
306
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/gizmos/drag-controls)
|
|
307
|
-
|
|
308
|
-
#### TransformControls
|
|
309
|
-
|
|
310
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/gizmos/transform-controls)
|
|
311
|
-
|
|
312
|
-
#### Grid
|
|
313
|
-
|
|
314
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/gizmos/grid)
|
|
315
|
-
|
|
316
|
-
#### Helper / useHelper
|
|
317
|
-
|
|
318
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/gizmos/helper-use-helper)
|
|
319
|
-
|
|
320
|
-
### Shapes
|
|
321
|
-
|
|
322
|
-
#### Plane, Box, Sphere, Circle, Cone, Cylinder, Tube, Torus, TorusKnot, Ring, Tetrahedron, Polyhedron, Icosahedron, Octahedron, Dodecahedron, Extrude, Lathe, Shape
|
|
323
|
-
|
|
324
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shapes/mesh)
|
|
325
|
-
|
|
326
|
-
#### RoundedBox
|
|
327
|
-
|
|
328
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shapes/rounded-box)
|
|
329
|
-
|
|
330
|
-
#### ScreenQuad
|
|
331
|
-
|
|
332
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shapes/screen-quad)
|
|
333
|
-
|
|
334
|
-
#### Line
|
|
335
|
-
|
|
336
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shapes/line)
|
|
337
|
-
|
|
338
|
-
#### QuadraticBezierLine
|
|
339
|
-
|
|
340
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shapes/quadratic-bezier-line)
|
|
341
|
-
|
|
342
|
-
#### CubicBezierLine
|
|
343
|
-
|
|
344
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shapes/cubic-bezier-line)
|
|
345
|
-
|
|
346
|
-
#### CatmullRomLine
|
|
347
|
-
|
|
348
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shapes/catmull-rom-line)
|
|
349
|
-
|
|
350
|
-
#### Facemesh
|
|
351
|
-
|
|
352
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shapes/facemesh)
|
|
353
|
-
|
|
354
|
-
### Abstractions
|
|
355
|
-
|
|
356
|
-
#### Image
|
|
357
|
-
|
|
358
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/image)
|
|
359
|
-
|
|
360
|
-
#### Text
|
|
361
|
-
|
|
362
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/text)
|
|
363
|
-
|
|
364
|
-
#### Text3D
|
|
365
|
-
|
|
366
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/text3d)
|
|
367
|
-
|
|
368
|
-
#### Effects
|
|
369
|
-
|
|
370
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/effects)
|
|
371
|
-
|
|
372
|
-
#### PositionalAudio
|
|
373
|
-
|
|
374
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/positional-audio)
|
|
375
|
-
|
|
376
|
-
#### Billboard
|
|
377
|
-
|
|
378
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/billboard)
|
|
379
|
-
|
|
380
|
-
#### ScreenSpace
|
|
381
|
-
|
|
382
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/screen-space)
|
|
383
|
-
|
|
384
|
-
#### ScreenSizer
|
|
385
|
-
|
|
386
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/screen-sizer)
|
|
387
|
-
|
|
388
|
-
#### GradientTexture
|
|
389
|
-
|
|
390
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/gradient-texture)
|
|
391
|
-
|
|
392
|
-
#### Edges
|
|
393
|
-
|
|
394
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/edges)
|
|
395
|
-
|
|
396
|
-
#### Outlines
|
|
397
|
-
|
|
398
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/outlines)
|
|
399
|
-
|
|
400
|
-
#### Trail
|
|
401
|
-
|
|
402
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/trail)
|
|
403
|
-
|
|
404
|
-
#### Sampler
|
|
405
|
-
|
|
406
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/sampler)
|
|
407
|
-
|
|
408
|
-
#### ComputedAttribute
|
|
409
|
-
|
|
410
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/computed-attribute)
|
|
411
|
-
|
|
412
|
-
#### Clone
|
|
413
|
-
|
|
414
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/clone)
|
|
415
|
-
|
|
416
|
-
#### useAnimations
|
|
417
|
-
|
|
418
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/use-animations)
|
|
419
|
-
|
|
420
|
-
#### MarchingCubes
|
|
421
|
-
|
|
422
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/marching-cubes)
|
|
423
|
-
|
|
424
|
-
#### Decal
|
|
425
|
-
|
|
426
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/decal)
|
|
427
|
-
|
|
428
|
-
#### Svg
|
|
429
|
-
|
|
430
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/svg)
|
|
431
|
-
|
|
432
|
-
#### AsciiRenderer
|
|
433
|
-
|
|
434
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/ascii-renderer)
|
|
435
|
-
|
|
436
|
-
#### Splat
|
|
437
|
-
|
|
438
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/abstractions/splat)
|
|
439
|
-
|
|
440
|
-
### Shaders
|
|
441
|
-
|
|
442
|
-
#### MeshReflectorMaterial
|
|
443
|
-
|
|
444
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shaders/mesh-reflector-material)
|
|
445
|
-
|
|
446
|
-
#### MeshWobbleMaterial
|
|
447
|
-
|
|
448
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shaders/mesh-wobble-material)
|
|
449
|
-
|
|
450
|
-
#### MeshDistortMaterial
|
|
451
|
-
|
|
452
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shaders/mesh-distort-material)
|
|
453
|
-
|
|
454
|
-
#### MeshRefractionMaterial
|
|
455
|
-
|
|
456
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shaders/mesh-refraction-material)
|
|
457
|
-
|
|
458
|
-
#### MeshTransmissionMaterial
|
|
459
|
-
|
|
460
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shaders/mesh-transmission-material)
|
|
461
|
-
|
|
462
|
-
#### MeshDiscardMaterial
|
|
463
|
-
|
|
464
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shaders/mesh-discard-material)
|
|
465
|
-
|
|
466
|
-
#### PointMaterial
|
|
467
|
-
|
|
468
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shaders/point-material)
|
|
469
|
-
|
|
470
|
-
#### SoftShadows
|
|
471
|
-
|
|
472
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shaders/soft-shadows)
|
|
473
|
-
|
|
474
|
-
#### shaderMaterial
|
|
475
|
-
|
|
476
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/shaders/shader-material)
|
|
477
|
-
|
|
478
|
-
### Modifiers
|
|
479
|
-
|
|
480
|
-
#### CurveModifier
|
|
481
|
-
|
|
482
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/modifiers/curve-modifier)
|
|
483
|
-
|
|
484
|
-
### Misc
|
|
485
|
-
|
|
486
|
-
#### useContextBridge
|
|
487
|
-
|
|
488
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/use-context-bridge)
|
|
489
|
-
|
|
490
|
-
#### Example
|
|
491
|
-
|
|
492
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/example)
|
|
493
|
-
|
|
494
|
-
#### Html
|
|
495
|
-
|
|
496
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/html)
|
|
497
|
-
|
|
498
|
-
#### CycleRaycast
|
|
499
|
-
|
|
500
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/cycle-raycast)
|
|
501
|
-
|
|
502
|
-
#### Select
|
|
503
|
-
|
|
504
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/select)
|
|
505
|
-
|
|
506
|
-
#### Sprite Animator
|
|
507
|
-
|
|
508
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/sprite-animator)
|
|
509
|
-
|
|
510
|
-
#### Stats
|
|
511
|
-
|
|
512
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/stats)
|
|
513
|
-
|
|
514
|
-
#### StatsGl
|
|
515
|
-
|
|
516
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/stats-gl)
|
|
517
|
-
|
|
518
|
-
#### Wireframe
|
|
519
|
-
|
|
520
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/wireframe)
|
|
521
|
-
|
|
522
|
-
#### useDepthBuffer
|
|
523
|
-
|
|
524
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/use-depth-buffer)
|
|
525
|
-
|
|
526
|
-
#### Fbo / useFBO
|
|
527
|
-
|
|
528
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/fbo-use-fbo)
|
|
529
|
-
|
|
530
|
-
#### useCamera
|
|
531
|
-
|
|
532
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/use-camera)
|
|
533
|
-
|
|
534
|
-
#### CubeCamera / useCubeCamera
|
|
535
|
-
|
|
536
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/cube-camera-use-cube-camera)
|
|
537
|
-
|
|
538
|
-
#### DetectGPU / useDetectGPU
|
|
539
|
-
|
|
540
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/detect-gpu-use-detect-gpu)
|
|
541
|
-
|
|
542
|
-
#### useAspect
|
|
543
|
-
|
|
544
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/use-aspect)
|
|
545
|
-
|
|
546
|
-
#### useCursor
|
|
547
|
-
|
|
548
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/use-cursor)
|
|
549
|
-
|
|
550
|
-
#### useIntersect
|
|
551
|
-
|
|
552
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/use-intersect)
|
|
553
|
-
|
|
554
|
-
#### useBoxProjectedEnv
|
|
555
|
-
|
|
556
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/use-box-projected-env)
|
|
557
|
-
|
|
558
|
-
#### Trail / useTrail
|
|
559
|
-
|
|
560
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/trail-use-trail)
|
|
561
|
-
|
|
562
|
-
#### useSurfaceSampler
|
|
563
|
-
|
|
564
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/use-surface-sampler)
|
|
565
|
-
|
|
566
|
-
#### FaceLandmarker
|
|
567
|
-
|
|
568
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/misc/face-landmarker)
|
|
569
|
-
|
|
570
|
-
### Loading
|
|
571
|
-
|
|
572
|
-
#### Loader
|
|
573
|
-
|
|
574
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/loader)
|
|
575
|
-
|
|
576
|
-
#### Progress / useProgress
|
|
577
|
-
|
|
578
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/progress-use-progress)
|
|
579
|
-
|
|
580
|
-
#### Gltf / useGLTF
|
|
581
|
-
|
|
582
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/gltf-use-gltf)
|
|
583
|
-
|
|
584
|
-
#### Fbx / useFBX
|
|
585
|
-
|
|
586
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/fbx-use-fbx)
|
|
587
|
-
|
|
588
|
-
#### Texture / useTexture
|
|
589
|
-
|
|
590
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/texture-use-texture)
|
|
591
|
-
|
|
592
|
-
#### Ktx2 / useKTX2
|
|
593
|
-
|
|
594
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/ktx2-use-ktx2)
|
|
595
|
-
|
|
596
|
-
#### CubeTexture / useCubeTexture
|
|
597
|
-
|
|
598
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/cube-texture-use-cube-texture)
|
|
599
|
-
|
|
600
|
-
#### VideoTexture / useVideoTexture
|
|
601
|
-
|
|
602
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/video-texture-use-video-texture)
|
|
603
|
-
|
|
604
|
-
#### TrailTexture / useTrailTexture
|
|
605
|
-
|
|
606
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/trail-texture-use-trail-texture)
|
|
607
|
-
|
|
608
|
-
#### useFont
|
|
609
|
-
|
|
610
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/use-font)
|
|
611
|
-
|
|
612
|
-
#### useSpriteLoader
|
|
613
|
-
|
|
614
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/loaders/use-sprite-loader)
|
|
615
|
-
|
|
616
|
-
### Performance
|
|
617
|
-
|
|
618
|
-
#### Instances
|
|
619
|
-
|
|
620
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/instances)
|
|
621
|
-
|
|
622
|
-
#### Merged
|
|
623
|
-
|
|
624
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/merged)
|
|
625
|
-
|
|
626
|
-
#### Points
|
|
627
|
-
|
|
628
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/points)
|
|
629
|
-
|
|
630
|
-
#### Segments
|
|
631
|
-
|
|
632
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/segments)
|
|
633
|
-
|
|
634
|
-
#### Detailed
|
|
635
|
-
|
|
636
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/detailed)
|
|
637
|
-
|
|
638
|
-
#### Preload
|
|
639
|
-
|
|
640
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/preload)
|
|
641
|
-
|
|
642
|
-
#### BakeShadows
|
|
643
|
-
|
|
644
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/bake-shadows)
|
|
645
|
-
|
|
646
|
-
#### meshBounds
|
|
647
|
-
|
|
648
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/mesh-bounds)
|
|
649
|
-
|
|
650
|
-
#### AdaptiveDpr
|
|
651
|
-
|
|
652
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/adaptive-dpr)
|
|
653
|
-
|
|
654
|
-
#### AdaptiveEvents
|
|
655
|
-
|
|
656
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/adaptive-events)
|
|
657
|
-
|
|
658
|
-
#### Bvh
|
|
659
|
-
|
|
660
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/bvh)
|
|
661
|
-
|
|
662
|
-
#### PerformanceMonitor
|
|
663
|
-
|
|
664
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/performances/performance-monitor)
|
|
665
|
-
|
|
666
|
-
### Portals
|
|
667
|
-
|
|
668
|
-
#### Hud
|
|
669
|
-
|
|
670
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/portals/hud)
|
|
671
|
-
|
|
672
|
-
#### View
|
|
673
|
-
|
|
674
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/portals/view)
|
|
675
|
-
|
|
676
|
-
#### RenderTexture
|
|
677
|
-
|
|
678
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/portals/render-texture)
|
|
679
|
-
|
|
680
|
-
#### RenderCubeTexture
|
|
681
|
-
|
|
682
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/portals/render-cube-texture)
|
|
683
|
-
|
|
684
|
-
#### Fisheye
|
|
685
|
-
|
|
686
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/portals/fisheye)
|
|
687
|
-
|
|
688
|
-
#### Mask
|
|
689
|
-
|
|
690
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/portals/mask)
|
|
691
|
-
|
|
692
|
-
#### MeshPortalMaterial
|
|
693
|
-
|
|
694
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/portals/mesh-portal-material)
|
|
695
|
-
|
|
696
|
-
### Staging
|
|
697
|
-
|
|
698
|
-
#### Center
|
|
699
|
-
|
|
700
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/center)
|
|
701
|
-
|
|
702
|
-
#### Resize
|
|
703
|
-
|
|
704
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/resize)
|
|
705
|
-
|
|
706
|
-
#### BBAnchor
|
|
707
|
-
|
|
708
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/bb-anchor)
|
|
709
|
-
|
|
710
|
-
#### Bounds
|
|
711
|
-
|
|
712
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/bounds)
|
|
713
|
-
|
|
714
|
-
#### CameraShake
|
|
715
|
-
|
|
716
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/camera-shake)
|
|
717
|
-
|
|
718
|
-
#### Float
|
|
719
|
-
|
|
720
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/float)
|
|
721
|
-
|
|
722
|
-
#### Stage
|
|
723
|
-
|
|
724
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/stage)
|
|
725
|
-
|
|
726
|
-
#### Backdrop
|
|
727
|
-
|
|
728
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/backdrop)
|
|
729
|
-
|
|
730
|
-
#### Shadow
|
|
731
|
-
|
|
732
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/shadow)
|
|
733
|
-
|
|
734
|
-
#### Caustics
|
|
735
|
-
|
|
736
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/caustics)
|
|
737
|
-
|
|
738
|
-
#### ContactShadows
|
|
739
|
-
|
|
740
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/contact-shadows)
|
|
741
|
-
|
|
742
|
-
#### RandomizedLight
|
|
743
|
-
|
|
744
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/randomized-light)
|
|
745
|
-
|
|
746
|
-
#### AccumulativeShadows
|
|
747
|
-
|
|
748
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/accumulative-shadows)
|
|
749
|
-
|
|
750
|
-
#### SpotLight
|
|
751
|
-
|
|
752
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/spot-light)
|
|
753
|
-
|
|
754
|
-
#### SpotLightShadow
|
|
755
|
-
|
|
756
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/spot-light-shadow)
|
|
757
|
-
|
|
758
|
-
#### Environment
|
|
759
|
-
|
|
760
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/environment)
|
|
761
|
-
|
|
762
|
-
#### Lightformer
|
|
763
|
-
|
|
764
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/lightformer)
|
|
765
|
-
|
|
766
|
-
#### Sky
|
|
767
|
-
|
|
768
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/sky)
|
|
769
|
-
|
|
770
|
-
#### Stars
|
|
771
|
-
|
|
772
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/stars)
|
|
773
|
-
|
|
774
|
-
#### Sparkles
|
|
775
|
-
|
|
776
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/sparkles)
|
|
777
|
-
|
|
778
|
-
#### Cloud
|
|
779
|
-
|
|
780
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/cloud)
|
|
781
|
-
|
|
782
|
-
#### useEnvironment
|
|
783
|
-
|
|
784
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/use-environment)
|
|
785
|
-
|
|
786
|
-
#### MatcapTexture / useMatcapTexture
|
|
787
|
-
|
|
788
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/matcap-texture-use-matcap-texture)
|
|
789
|
-
|
|
790
|
-
#### NormalTexture / useNormalTexture
|
|
791
|
-
|
|
792
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/normal-texture-use-normal-texture)
|
|
793
|
-
|
|
794
|
-
#### ShadowAlpha
|
|
795
|
-
|
|
796
|
-
[Documentation has moved here](https://pmndrs.github.io/drei/staging/shadow-alpha)
|
|
797
|
-
|
|
798
|
-
</details>
|
|
799
|
-
|
|
800
91
|
## Dev
|
|
801
92
|
|
|
802
93
|
### INSTALL
|