銆奣hree.js 鍏ラ棬鎸囧崡銆? Three JS 鍔熻兘棰勮
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了銆奣hree.js 鍏ラ棬鎸囧崡銆? Three JS 鍔熻兘棰勮相关的知识,希望对你有一定的参考价值。
鏍囩锛?a href='http://www.mamicode.com/so/1/%e6%95%b0%e5%ad%a6%e5%87%bd%e6%95%b0' title='鏁板鍑芥暟'>鏁板鍑芥暟 shader 閮ㄥ垎 鐩存帴 obj 鐗瑰畾 led 澶勭悊
銆愰儴鍒嗕腑鑻辨枃瀵圭収銆?/font>
Cameras锛堢収鐩告満锛屾帶鍒舵姇褰辨柟寮忥級
Camera
OrthographicCamera 姝d氦鐩告満
PerspectiveCamera 閫忚鐩告満
Core锛堟牳蹇冨璞★級
BufferGeometry 缂撳啿鍑犱綍
Clock锛堢敤鏉ヨ褰曟椂闂达級
EventDispatcher 浜嬩欢璋冨害
Face3
Face4
Geometry 鍑犱綍
Object3D
Projector 鎶曞奖鏈? Raycaster 鍏夌嚎鎶曞皠锛堣绠楅紶鏍囨嬀鍙栫墿浣撴椂寰堟湁鐢ㄧ殑瀵硅薄锛?
Lights锛堝厜鐓э級
Light
AmbientLight 鐜鍏?鑳屾櫙鍏? AreaLight 鍖哄煙鍏夋簮锛涢潰绉厜
DirectionalLight 骞宠鍏夛紱瀹氬悜鍏夋簮锛涙柟浣嶇伅
HemisphereLight 鍗婄悆鍏?/span>
PointLight 鐐瑰厜婧? SpotLight 鑱氬厜鐏?
Loaders锛堝姞杞藉櫒锛岀敤鏉ュ姞杞界壒瀹氭枃浠讹級
Loader
BinaryLoader 浜岃繘鍒跺姞杞藉櫒
GeometryLoader 鍑犱綍瀛﹀姞杞藉櫒
ImageLoader 鍥惧舰鍔犺浇鍣? JSONLoader JSON鍔犺浇鍣? LoadingMonitor 瑁呰浇鐩戣鍣?
SceneLoader 鍦烘櫙鍔犺浇鍣? TextureLoader 绾圭悊鍔犺浇鍣?
Materials锛堟潗璐紝鎺у埗鐗╀綋鐨勯鑹层€佺汗鐞嗙瓑锛? Material
LineBasicMaterial 鍩虹绾挎潯鏉愯川
LineDashedMaterial 铏氱嚎鏉愯川
MeshBasicMaterial 鍩虹缃戠粶鏉愯川
MeshDepthMaterial 娣卞害缃戞牸鏉愯川
MeshFaceMaterial 缃戞牸闈㈡潗璐?/span>
MeshLambertMaterial Lambert缃戞牸鏉愯川锛堜竴绉嶉潪鍏夋辰琛ㄩ潰鐨勬潗璐紝娌℃湁闀滈潰楂樺厜锛?/span>
MeshNormalMaterial 娉曠嚎缃戞牸鏉愯川 锛堜竴绉嶆妸娉曞悜閲忔槧灏勫埌RGB棰滆壊鐨勬潗璐ㄣ€傦級
MeshPhongMaterial Phong缃戞牸鏉愯川锛堜竴绉嶇敤浜庡叿鏈夐暅闈㈤珮鍏夌殑鍏夋辰琛ㄩ潰鐨勬潗璐ㄣ€傦級
ParticleBasicMaterial 鍩烘湰绮掑瓙鏉愯川
ParticleCanvasMaterial Canvas绮掑瓙鏉愯川
ParticleDOMMaterial DOM绮掑瓙鏉愯川
ShaderMaterial 鐫€鑹插櫒鏉愯川
SpriteMaterial 鐐圭簿鐏垫潗璐?/span>
Math锛堝拰鏁板鐩稿叧鐨勫璞★級
Box2 琛ㄧず浜岀淮绌洪棿涓殑涓€涓寘鍥寸洅
Box3 鍦?D绌洪棿涓〃绀轰竴涓洅瀛愭垨绔嬫柟浣撱€傚叾涓昏鐢ㄤ簬琛ㄧず鐗╀綋鍦ㄤ笘鐣屽潗鏍囦腑鐨勮竟鐣屾銆?/span>
Color
Frustum 瑙嗛敟浣?/span>
Math 鏁板鍑芥暟
Matrix3 涓夌淮鐭╅樀
Matrix4 鍥涚淮鐭╅樀
Plane 骞抽潰
Quaternion 鍥涘厓鏁? Ray 灏勭嚎
Sphere 鐞?/span>
Spline 鏍锋潯鏇茬嚎锛堟槸鎸囩粰瀹氫竴缁勬帶鍒剁偣鑰屽緱鍒颁竴鏉℃洸绾匡級
Triangle 涓夎褰?/span>
Vector2 浜岀淮鍚戦噺
Vector3 涓夌淮鍚戦噺
Vector4 鍥涚淮鍚戦噺
Objects锛堢墿浣擄級
Bone 楠ㄩ
Line 涓€鏉¤繛缁殑绾?/span>
LOD 澶氱粏鑺傚眰娆?/span>
Mesh锛堢綉鏍硷紝鏈€甯哥敤鐨勭墿浣擄級
MorphAnimMesh 鍙樺舰鍔ㄧ敾缃戞牸
Particle 绮掑瓙
ParticleSystem 绮掑瓙绯荤粺
Ribbon 甯? SkinnedMesh 钂欑毊缃戞牸
Sprite 绮剧伒 锛堢簿鐏垫槸涓€涓€绘槸闈㈡湞鐫€鎽勫儚鏈虹殑骞抽潰锛岄€氬父鍚湁浣跨敤涓€涓崐閫忔槑鐨勭汗鐞嗐€傦級
Renderers锛堟覆鏌撳櫒锛屽彲浠ユ覆鏌撳埌涓嶅悓瀵硅薄涓婏級
CanvasRenderer canvas娓叉煋鍣? WebGLRenderer锛堜娇鐢╓ebGL娓叉煋锛岃繖鏄湰涔︿腑鏈€甯哥敤鐨勬柟寮忥級
WebGLRenderTarget WebGL娓叉煋鐩爣锛堟槸GPU 鍐呴儴瀵硅薄锛?涓昏浣滅敤鏄瓨鍌ㄧ粯鍒剁粨鏋滐紝閫氬父缁樺埗缁撴灉鐩存帴鏄剧ず鍒板睆骞曚笂锛屼絾鏄篃鍙互鏆傛椂瀛樺偍鍦℅PU鍐呴儴锛?/span>
WebGLRenderTargetCube WebGL娓叉煋鍣ㄧ珛鏂逛綋鐩爣
WebGLShaders锛堢潃鑹插櫒锛屽湪鏈€鍚庝竴绔犱綔浠嬬粛锛?
Renderers / Renderables
RenderableFace3
RenderableFace4
RenderableLine 鍙覆鏌撶嚎
RenderableObject 鍙覆鏌撳璞? RenderableParticle 鍙覆鏌撶矑瀛? RenderableVertex 鍙覆鏌撻《鐐?
Scenes锛堝満鏅級
Fog
FogExp2
Scene
Textures锛堢汗鐞嗭級
CompressedTexture 鍘嬬缉鐨勭汗鐞?/span>
DataTexture 鏁版嵁绾圭悊
Texture
Extras 锛堥檮鍔犵墿锛?锛?Utils:鈥滃疄鐢ㄥ伐鍏封€濓級
FontUtils
GeometryUtils
ImageUtils
SceneUtils
Extras / Animation
Animation
AnimationHandler 鍔ㄧ敾澶勭悊鍑芥暟
AnimationMorphTarget 鍔ㄧ敾鍙樺舰瀵硅薄
KeyFrameAnimation 鍏抽敭妗嗘灦鍔ㄧ敾
Extras / Cameras
CombinedCamera 缁勫悎鐩告満
CubeCamera 绔嬫柟鐩告満
Extras / Core
Curve 鍗锋洸
CurvePath 鍗锋洸璺緞
Gyroscope 闄€铻轰华
Path
Shape
Extras / Geometries锛堝嚑浣曞舰鐘讹級
CircleGeometry 鍦嗗嚑浣? ConvexGeometry 鍑稿嚑浣?/span>
CubeGeometry 绔嬫柟浣撳嚑浣?/span>
CylinderGeometry 鍦嗘煴鍑犱綍
ExtrudeGeometry 鎸ゅ帇鍑犱綍
IcosahedronGeometry 鍗佷簩闈㈠嚑浣? LatheGeometry 杞﹀簥鍑犱綍
OctahedronGeometry 鍏潰浣撳嚑浣?/span>
ParametricGeometry 鍙傛暟鍑犱綍
PlaneGeometry 骞抽潰鍑犱綍
PolyhedronGeometry 澶氶潰浣撳嚑浣?/span>
ShapeGeometry 褰㈢姸鍑犱綍
SphereGeometry 鐞冮潰鍑犱綍瀛?/span>
TetrahedronGeometry 鍥涢潰浣撳嚑浣?/span>
TextGeometry 鏂囨湰鍑犱綍
TorusGeometry 鍦嗙幆鍑犱綍
TorusKnotGeometry 鐜粨鍑犱綍
TubeGeometry 绠$姸浣?
Extras / Helpers
ArrowHelper 绠ご鍔╂墜
AxisHelper 杞村姪鎵? CameraHelper 鐩告満鍔╂墜
DirectionalLightHelp 鏂瑰悜鍏夊姪鎵媏r
HemisphereLightHelper 鍗婄悆鍏夊姪鎵? PointLightHelper 鑱氬厜鐏姪鎵? SpotLightHelper 鐐瑰厜婧愬姪鎵?
Extras / Objects
ImmediateRenderObject 鍗虫椂娓叉煋瀵硅薄
LensFlare 闀滃ご鍏夋檿
MorphBlendMesh 鍙樺舰娣峰悎缃?
Extras / Renderers / Plugins
DepthPassPlugin
LensFlarePlugin
ShadowMapPlugin
SpritePlugin
Extras / Shaders
ShaderFlares 鐫€鑹插櫒鑰€鏂?/span>
ShaderSprite 鐫€鑹插櫒绮剧伒
以上是关于銆奣hree.js 鍏ラ棬鎸囧崡銆? Three JS 鍔熻兘棰勮的主要内容,如果未能解决你的问题,请参考以下文章