Three.js中⽂⽂档Threejs中⽂⽂档
郭隆邦技术博客
2018-09-21 20:40:17
关注
Three.js中⽂⽂档
今天闲着没事,准备翻译⼀下three.js官⽅⽂档的英⽂⽬录。
threejs英⽂⽂档地址
threejs中⽂⽂档地址
动画对象Animation
编辑、解析播放帧动画。
动作AnimationAction
剪辑AnimationClip
混合器AnimationMixer
动画对象组AnimationObjectGroup
动画⼯具AnimationUtils
关键帧KeyframeTrack
属性绑定PropertyBinding
属性混合器PropertyMixer
动画帧数据 Animation / Tracks
以下API是关键帧对象KeyframeTrack的扩展,KeyframeTrack是它们的基类
布尔类型关键帧BooleanKeyframeTrack
颜⾊类型关键帧ColorKeyframeTrack
数字类型关键帧NumberKeyframeTrack
四元数类型关键帧QuaternionKeyframeTrack
字符串类型关键帧StringKeyframeTrack
向量类型关键帧VectorKeyframeTrack
⾳频分析器AudioAnalyser
⾳频上下⽂AudioContext
⾳频虚拟监听者AudioListener
位置类型⾳频PositionalAudi
相机对象Cameras
各种相机对象API,Camera是其他对象的基类,相机对象包含投影矩阵、视图矩阵等信息数组相机ArrayCamera
相机对象Camera
js文字动画特效⽴⽅体相机CubeCamera
正投影相机OrthographicCamera
透视投影相机PerspectiveCamera
⽴体相机StereoCamerao
常量Constants
⼀些对象API属性的属性值
动画Animation
核⼼Core
⾃定义混合⽅程CustomBlendingEquation
绘制模式DrawModes
材质Materials
渲染器Renderer
纹理Textures
核⼼Core
threejs的核⼼模块API
缓冲属性BufferAttribute
缓冲类型⼏何体BufferGeometry
时钟Clock
直接⼏何体DirectGeometry
⼏何体Geometry
实例化缓冲属性InstancedBufferAttribute
-实例化缓冲⼏何体 InstancedBufferGeometry
实例化交错缓冲对象InstancedInterleavedBuffer
实例化缓冲对象InterleavedBuffer
实例化缓冲属性InterleavedBufferAttribute
图层Layers
对象Object3D
射线Raycaster :碰撞检测
统⼀Uniform:向顶点、⽚元着⾊器传递数据
扩展/核⼼Extras / Core
曲线Curve
曲线路径CurvePath
字体Font
插值Interpolations
路径Path
形状Shape
形状路径ShapePath
扩展/对象Extras / Objects
⽴即渲染对象ImmediateRenderObject
⼏何体Geometries
常见⼏何体的API,基类是核⼼模块Core中的Geometry或BufferGeometry。
含有Buffer字符串的API是缓冲类型结合体,它们的基类是BufferGeometry,不含有buffer的⼏何体API基类是Geometry。缓冲类⽴⽅体BoxBufferGeometry
⽴⽅体BoxGeometry
CircleBufferGeometry
圆形平⾯⼏何体CircleGeometry
圆柱体CylinderGeometry DodecahedronBufferGeometry
正⼗⼆⾯体DodecahedronGeometry 边⼏何体EdgesGeometry ExtrudeBufferGeometry
拉伸扫描⼏何体ExtrudeGeometry IcosahedronBufferGeometry
正⼆⼗⾯体IcosahedronGeometry LatheBufferGeometry
旋转造型LatheGeometry OctahedronBufferGeometry
正⼋⾯体OctahedronGeometry ParametricBufferGeometry
参数⼏何体ParametricGeometry PlaneBufferGeometry
矩形平⾯⼏何体PlaneGeometry PolyhedronBufferGeometry
多⾯体PolyhedronGeometry RingBufferGeometry
平⾯圆环RingGeometry ShapeBufferGeometry
平⾯轮廓ShapeGeometry SphereBufferGeometry
球体SphereGeometry TetrahedronBufferGeometry
正四⾯体TetrahedronGeometry
圆环TorusGeometry
TorusKnotBufferGeometry
环⾯纽结TorusKnotGeometry
TubeBufferGeometry
管道成型TubeGeometry
线框图WireframeGeometry
辅助模型对象Helpers
使⽤线框模型可视化表⽰⼀些信息。
箭头ArrowHelper
三维坐标系AxesHelper
平⾯盒⼦BoxHelper
⽴体盒⼦Box3Helper
-相机对象 CameraHelper
⽅向光DirectionalLightHelper
⾯法向量FaceNormalsHelper
⽹格GridHelper
极坐标⽹格PolarGridHelper
平⾯PlaneHelper
点光源PointLightHelper
矩形区域光源RectAreaLightHelper
⾻骼系统SkeletonHelper
聚光源SpotLightHelper
顶点法向量VertexNormalsHelper
光源对象Lights
threejs渲染器渲染的时候会计算光源与物体表⾯的效果,光源对象Light是其他光源对象的基类。环境光AmbientLight