CARVIEW |
Select Language
HTTP/2 301
date: Mon, 21 Jul 2025 14:26:04 GMT
content-type: text/html; charset=utf-8
content-length: 0
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
location: https://github.com/firtoz/react-three-renderer/wiki/API-Reference
cache-control: no-cache
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
set-cookie: _gh_sess=BcAfaz4e%2BUW6gwGtYwgejn8g1gUn3vOYe5TNg1cH2C%2BLcD2NcWtHKmhaewTp9BvxFNbPaMr1PrOBil3OwYTg8CCh1pJZYh4ut6ZyBUgbwW8i0c9Qr2R4SprkxFrvVnILpsvpqDSPCp1vaAIO21KomX5sOOYvm8SpnkQ7xZlla3xx%2BTdPyNu5NHZyf6ITyBcYYQwUA1LEopJn746owZP9HK13%2F5BQMocEFGmpLDpFQ%2FGRYgqqGR%2BvumymwKEarglPAhDg3UBK08WAy47Zn92VLg%3D%3D--Phj3kmtEbcKV739e--eceJO%2Bpd0C%2BD35sM1koCbg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.671582892.1753107964; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 14:26:04 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 14:26:04 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9E3E:0A55:1CD4D0A:23AEF42:687E4DFC
HTTP/2 200
date: Mon, 21 Jul 2025 14:26:06 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"a58a56dd0252cfed64ce8cbbbedd976b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
x-github-request-id: 9E3E:0A55:1CD4D39:23AEF92:687E4DFC
API Reference · firtoz/react-three-renderer Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
This repository was archived by the owner on Jul 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 156
API Reference
Firtina Ozbalikci edited this page Jul 29, 2017
·
38 revisions
Wiki » API Reference
-
React3:
require('react-three-renderer')
- Module Entry Point -
Internal Components:
- Views:
-
Objects: Entities that can be added into a scene
- scene: Creates a THREE.Scene
- object3D: Creates a THREE.Object3D
- group: Creates a THREE.Group
-
Cameras:
- orthographicCamera: Creates a THREE.OrthographicCamera
- perspectiveCamera: Creates a THREE.PerspectiveCamera
- cubeCamera: Creates a THREE.CubeCamera
-
Meshes:
- mesh: Creates a THREE.Mesh
- line: Creates a THREE.Line
- lineSegments: Creates a THREE.LineSegments
- points: Creates a THREE.Points
- sprite: Creates a THREE.Sprite
- TODO:
- Bone
- LensFlare
- LOD
- MorphAnimMesh
- SkinnedMesh
- Skeleton
-
Lights:
- ambientLight: Creates a THREE.AmbientLight
- directionalLight: Creates a THREE.DirectionalLight
- spotLight: Creates a THREE.SpotLight
- pointLight: Creates a THREE.PointLight
- hemisphereLight: Creates a THREE.HemisphereLight
- TODO:
- Light
-
Helpers:
- cameraHelper: Creates a THREE.CameraHelper
- axisHelper: Creates a THREE.AxisHelper
- arrowHelper: Creates a THREE.ArrowHelper
- gridHelper: Creates a THREE.GridHelper
- TODO:
- BoundingBoxHelper
- BoxHelper
- DirectionalLightHelper
- EdgesHelper
- FaceNormalsHelper
- HemisphereLightHelper
- PointLightHelper
- SpotLightHelper
- VertexNormalsHelper
- WireframeHelper
-
Materials:
- meshBasicMaterial: Creates a THREE.MeshBasicMaterial
- meshPhongMaterial: Creates a THREE.MeshPhongMaterial
- meshLambertMaterial: Creates a THREE.MeshLambertMaterial
- meshDepthMaterial: Creates a THREE.MeshDepthMaterial
- meshNormalMaterial: Creates a THREE.MeshNormalMaterial
- pointsMaterial: Creates a THREE.PointsMaterial
- lineBasicMaterial: Creates a THREE.LineBasicMaterial
- lineDashedMaterial: Creates a THREE.LineDashedMaterial
- spriteMaterial: Creates a THREE.SpriteMaterial
-
shaderMaterial: Creates a THREE.ShaderMaterial
-
uniforms: A container for THREE.ShaderMaterial#uniforms.
- uniform: A single uniform value for a shader material.
-
uniforms: A container for THREE.ShaderMaterial#uniforms.
- rawShaderMaterial: Creates a THREE.RawShaderMaterial.
- meshStandardMaterial: Creates a THREE.MeshStandardMaterial
- TODO:
- Material
- MeshFaceMaterial
- MultiMaterial
- SpriteCanvasMaterial
- SpriteMaterial
-
Textures:
- texture: Creates a THREE.Texture
- TODO:
- CubeTexture
- CompressedTexture
- DataTexture
-
Geometries:
- geometry: Creates a THREE.Geometry
- bufferGeometry: Creates a THREE.BufferGeometry
- boxGeometry: Creates a THREE.BoxGeometry
- sphereGeometry: Creates a THREE.SphereGeometry
- parametricGeometry: Creates a THREE.ParametricGeometry
- planeBufferGeometry: Creates a THREE.PlaneBufferGeometry
- planeGeometry: Creates a THREE.PlaneGeometry
- polyhedronGeometry: Creates a THREE.PolyhedronGeometry
- icosahedronGeometry: Creates a THREE.IcosahedronGeometry
- octahedronGeometry: Creates a THREE.OctahedronGeometry
- tetrahedronGeometry: Creates a THREE.TetrahedronGeometry
- circleGeometry: Creates a THREE.CircleGeometry
- circleBufferGeometry: Creates a THREE.CircleBufferGeometry
- ringGeometry: Creates a THREE.RingGeometry
- cylinderGeometry: Creates a THREE.CylinderGeometry
- latheGeometry: Creates a THREE.LatheGeometry
- torusGeometry: Creates a THREE.TorusGeometry
- torusKnotGeometry: Creates a THREE.TorusKnotGeometry
- extrudeGeometry: Creates a THREE.ExtrudeGeometry
- tubeGeometry: Creates a THREE.TubeGeometry
- dodecahedronGeometry: Creates a THREE.DodecahedronGeometry
- textGeometry: Creates a THREE.TextGeometry
- shapeGeometry: Creates a THREE.ShapeGeometry
- edgesGeometry: Creates a THREE.EdgesGeometry
- TODO:
- CubeGeometry
-
Shapes:
-
shape: Creates a THREE.Shape
- moveTo: Calls THREE.Path#moveTo on the parent shape
- lineTo: Calls THREE.Path#lineTo on the parent shape
- bezierCurveTo: Calls THREE.Path#bezierCurveTo on the parent shape
- quadraticCurveTo: Calls THREE.Path#quadraticCurveTo on the parent shape
- absArc: Calls THREE.Path#absArc on the parent shape
- absEllipse: Calls THREE.Path#absEllipse on the parent shape
- splineThru: Calls THREE.Path#splineThru on the parent shape
- hole: Adds a hole into a parent shape, see THREE.Shape#holes
- TODO:
- Curve
- CurvePath
- Gyroscope
- Path
-
shape: Creates a THREE.Shape
-
Resource Types: Allows you to reuse entities, these help save a lot of memory
- resources: Resource Container
- materialResource: Reference to a material resource
- textureResource: Reference to a texture resource
- geometryResource: Reference to a geometry resource.
- shapeResource: Reference to a shape resource
- shapeGeometryResource: Creates a geometry using a shape resource
- Advanced: If you feel like having custom experiences, this one is for you
- React3Renderer: Equivalent to react-dom.
Home | Usage | API Reference | Examples
Clone this wiki locally
You can’t perform that action at this time.