Procházet zdrojové kódy

These materials comments changes somehow didn't get into previous commit.

alteredq před 12 roky
rodič
revize
a9fa5833e2

+ 1 - 0
src/materials/LineBasicMaterial.js

@@ -8,6 +8,7 @@
  *
  *  blending: THREE.NormalBlending,
  *  depthTest: <bool>,
+ *  depthWrite: <bool>,
  *
  *  linewidth: <float>,
  *  linecap: "round",

+ 1 - 0
src/materials/LineDashedMaterial.js

@@ -7,6 +7,7 @@
  *
  *  blending: THREE.NormalBlending,
  *  depthTest: <bool>,
+ *  depthWrite: <bool>,
  *
  *  linewidth: <float>,
  *

+ 1 - 0
src/materials/MeshBasicMaterial.js

@@ -19,6 +19,7 @@
  *  shading: THREE.SmoothShading,
  *  blending: THREE.NormalBlending,
  *  depthTest: <bool>,
+ *  depthWrite: <bool>,
  *
  *  wireframe: <boolean>,
  *  wireframeLinewidth: <float>,

+ 4 - 3
src/materials/MeshDepthMaterial.js

@@ -4,13 +4,14 @@
  *
  * parameters = {
  *  opacity: <float>,
- 
+ *
  *  blending: THREE.NormalBlending,
  *  depthTest: <bool>,
- 
+ *  depthWrite: <bool>,
+ *
  *  wireframe: <boolean>,
  *  wireframeLinewidth: <float>
- * } 
+ * }
  */
 
 THREE.MeshDepthMaterial = function ( parameters ) {

+ 1 - 0
src/materials/MeshLambertMaterial.js

@@ -22,6 +22,7 @@
  *  shading: THREE.SmoothShading,
  *  blending: THREE.NormalBlending,
  *  depthTest: <bool>,
+ *  depthWrite: <bool>,
  *
  *  wireframe: <boolean>,
  *  wireframeLinewidth: <float>,

+ 3 - 2
src/materials/MeshNormalMaterial.js

@@ -3,11 +3,12 @@
  *
  * parameters = {
  *  opacity: <float>,
- 
+ *
  *  shading: THREE.FlatShading,
  *  blending: THREE.NormalBlending,
  *  depthTest: <bool>,
- 
+ *  depthWrite: <bool>,
+ *
  *  wireframe: <boolean>,
  *  wireframeLinewidth: <float>
  * }

+ 1 - 0
src/materials/MeshPhongMaterial.js

@@ -30,6 +30,7 @@
  *  shading: THREE.SmoothShading,
  *  blending: THREE.NormalBlending,
  *  depthTest: <bool>,
+ *  depthWrite: <bool>,
  *
  *  wireframe: <boolean>,
  *  wireframeLinewidth: <float>,

+ 1 - 0
src/materials/ParticleBasicMaterial.js

@@ -11,6 +11,7 @@
  *
  *  blending: THREE.NormalBlending,
  *  depthTest: <bool>,
+ *  depthWrite: <bool>,
  *
  *  vertexColors: <bool>,
  *

+ 1 - 0
src/materials/ShaderMaterial.js

@@ -12,6 +12,7 @@
  *  shading: THREE.SmoothShading,
  *  blending: THREE.NormalBlending,
  *  depthTest: <bool>,
+ *  depthWrite: <bool>,
  *
  *  wireframe: <boolean>,
  *  wireframeLinewidth: <float>,