Files
english/.opencode/skills/threejs/data/api-reference.csv
2026-04-12 01:06:31 +07:00

8.3 KiB

1IDCategoryClassKeywordsDescriptionCommon MethodsRelated Classes
21CoreScenescene, container, root, hierarchyRoot container for all 3D objectsadd(), remove(), traverse(), getObjectByName()Object3D; Group
32CoreCameracamera, view, projectionBase camera class for all camera typeslookAt(), updateProjectionMatrix()PerspectiveCamera; OrthographicCamera
43CorePerspectiveCameraperspective, fov, aspect, near, farPerspective projection camerasetFocalLength(), updateProjectionMatrix()Camera; OrthographicCamera
54CoreOrthographicCameraorthographic, 2d, isometric, parallelOrthographic projection cameraupdateProjectionMatrix(), zoomCamera; PerspectiveCamera
65CoreWebGLRendererrenderer, webgl, canvas, drawWebGL rendering enginerender(), setSize(), setPixelRatio(), dispose()Scene; Camera
76CoreWebGPURendererrenderer, webgpu, modern, computeWebGPU rendering enginerender(), setSize(), compute()WebGLRenderer; Scene
87GeometryBufferGeometrygeometry, vertices, faces, meshEfficient geometry representationsetAttribute(), setIndex(), computeVertexNormals()Mesh; BufferAttribute
98GeometryBoxGeometrybox, cube, rectangularBox/cube primitive geometryparameters: width, height, depth, segmentsBufferGeometry; SphereGeometry
109GeometrySphereGeometrysphere, ball, globeSphere primitive geometryparameters: radius, widthSegments, heightSegmentsBufferGeometry; BoxGeometry
1110GeometryPlaneGeometryplane, flat, ground, floorFlat plane primitive geometryparameters: width, height, widthSegmentsBufferGeometry; CircleGeometry
1211GeometryCylinderGeometrycylinder, tube, pillarCylinder primitive geometryparameters: radiusTop, radiusBottom, heightBufferGeometry; ConeGeometry
1312GeometryTorusGeometrytorus, donut, ringTorus/donut primitive geometryparameters: radius, tube, radialSegmentsBufferGeometry; TorusKnotGeometry
1413MaterialMaterialmaterial, appearance, surfaceBase material classdispose(), clone(), needsUpdateMeshStandardMaterial; ShaderMaterial
1514MaterialMeshStandardMaterialstandard, pbr, metalness, roughnessPBR metallic-roughness materialcolor, metalness, roughness, map, normalMapMaterial; MeshPhysicalMaterial
1615MaterialMeshPhysicalMaterialphysical, transmission, clearcoat, sheenAdvanced PBR materialtransmission, thickness, clearcoat, sheen, iorMeshStandardMaterial; Material
1716MaterialMeshBasicMaterialbasic, unlit, simple, fastUnlit material for simple renderingcolor, map, wireframe, transparentMaterial; MeshLambertMaterial
1817MaterialMeshLambertMateriallambert, diffuse, non-shinyDiffuse-only materialcolor, map, emissive, reflectivityMaterial; MeshPhongMaterial
1918MaterialMeshPhongMaterialphong, specular, shiny, highlightSpecular highlight materialcolor, specular, shininess, mapMaterial; MeshStandardMaterial
2019MaterialMeshToonMaterialtoon, cartoon, cel, stylizedCel-shaded toon materialcolor, gradientMap, mapMaterial; MeshLambertMaterial
2120MaterialShaderMaterialshader, custom, glsl, vertex, fragmentCustom GLSL shader materialvertexShader, fragmentShader, uniformsMaterial; RawShaderMaterial
2221MaterialPointsMaterialpoints, particles, spritesMaterial for point cloudscolor, size, sizeAttenuation, mapMaterial; SpriteMaterial
2322LightLightlight, illumination, sourceBase light classcolor, intensityDirectionalLight; PointLight
2423LightDirectionalLightdirectional, sun, parallel, shadowParallel light rays (sun-like)position, target, shadow, castShadowLight; SpotLight
2524LightPointLightpoint, bulb, omnidirectionalOmnidirectional light sourceposition, distance, decay, shadowLight; SpotLight
2625LightSpotLightspotlight, cone, focused, shadowCone-shaped spotlightposition, target, angle, penumbra, shadowLight; DirectionalLight
2726LightAmbientLightambient, fill, globalGlobal ambient illuminationcolor, intensityLight; HemisphereLight
2827LightHemisphereLighthemisphere, sky, ground, outdoorSky/ground gradient lightskyColor, groundColor, intensityLight; AmbientLight
2928LightRectAreaLightrectarea, area, soft, studioRectangular area lightwidth, height, intensity, lookAt()Light; SpotLight
3029ObjectMeshmesh, geometry, material, object3D object with geometry and materialgeometry, material, position, rotation, scaleObject3D; SkinnedMesh
3130ObjectSkinnedMeshskinned, rigged, animation, bonesMesh with skeletal animationskeleton, bind(), pose()Mesh; Bone
3231ObjectInstancedMeshinstanced, performance, many, cloneEfficient multiple instance renderingcount, setMatrixAt(), setColorAt()Mesh; BatchedMesh
3332ObjectGroupgroup, container, parent, hierarchyContainer for grouping objectsadd(), remove(), childrenObject3D; Scene
3433ObjectPointspoints, particles, cloudPoint cloud renderinggeometry, materialMesh; Line
3534ObjectLineline, path, wireLine renderinggeometry, materialPoints; LineSegments
3635ObjectSpritesprite, billboard, always-facingAlways camera-facing planematerial, center, scalePoints; Mesh
3736AnimationAnimationMixermixer, animation, playback, controlAnimation playback controllerclipAction(), update(), stopAllAction()AnimationClip; AnimationAction
3837AnimationAnimationClipclip, keyframes, track, animation dataAnimation data containertracks, duration, resetDuration()AnimationMixer; KeyframeTrack
3938AnimationAnimationActionaction, play, pause, loopAnimation playback controlplay(), stop(), crossFadeTo(), setEffectiveWeight()AnimationMixer; AnimationClip
4039LoaderGLTFLoadergltf, glb, loader, modelGLTF/GLB model loaderload(), parse(), setDRACOLoader()Loader; DRACOLoader
4140LoaderFBXLoaderfbx, autodesk, animationFBX model loaderload(), parse()Loader; GLTFLoader
4241LoaderOBJLoaderobj, wavefront, simpleOBJ model loaderload(), parse(), setMaterials()Loader; MTLLoader
4342LoaderTextureLoadertexture, image, mapImage texture loaderload(), loadAsync()Loader; CubeTextureLoader
4443LoaderDRACOLoaderdraco, compression, meshDraco compressed mesh decodersetDecoderPath(), preload()GLTFLoader; Loader
4544ControlOrbitControlsorbit, rotate, zoom, pan, cameraOrbiting camera controlsupdate(), target, enableDampingControls; TrackballControls
4645ControlMapControlsmap, overhead, 2d, navigationMap-style camera controlsupdate(), target, screenSpacePanningOrbitControls; Controls
4746ControlFirstPersonControlsfps, first person, walkFirst-person camera controlsupdate(), movementSpeed, lookSpeedControls; PointerLockControls
4847ControlTransformControlstransform, gizmo, move, rotate, scaleObject manipulation gizmoattach(), detach(), setMode()Controls; DragControls
4948MathVector3vector, position, direction, xyz3D vector mathadd(), sub(), multiply(), normalize(), length()Vector2; Quaternion
5049MathQuaternionquaternion, rotation, orientationRotation representationsetFromEuler(), slerp(), multiply()Vector3; Euler
5150MathMatrix4matrix, transform, 4x44x4 transformation matrixmultiply(), invert(), decompose()Matrix3; Vector3
5251MathBox3box, aabb, bounds, collisionAxis-aligned bounding boxsetFromObject(), containsPoint(), intersectsBox()Sphere; Raycaster
5352MathRaycasterraycast, pick, intersect, mouseRay intersection testingsetFromCamera(), intersectObjects()Box3; Vector3
5453HelperAxesHelperaxes, xyz, debug, orientationXYZ axes visualizationsize parameterHelper; GridHelper
5554HelperGridHelpergrid, floor, debug, referenceGrid plane visualizationsize, divisions, colorsHelper; AxesHelper
5655HelperBoxHelperbox, bounds, debug, wireframeBounding box visualizationsetFromObject(), update()Helper; Box3Helper
5756EffectEffectComposercomposer, postprocessing, chainPost-processing effect chainaddPass(), render(), setSize()Pass; ShaderPass
5857EffectRenderPassrender, scene, camera, baseBase scene render passscene, cameraPass; EffectComposer
5958EffectUnrealBloomPassbloom, glow, emissive, hdrUnreal-style bloom effectstrength, radius, thresholdPass; EffectComposer
6059EffectSSAOPassssao, ao, ambient occlusionScreen-space ambient occlusionkernelRadius, minDistance, maxDistancePass; GTAOPass
6160EffectOutlinePassoutline, selection, highlightObject outline effectselectedObjects, visibleEdgeColorPass; EffectComposer