|
@@ -1,61 +0,0 @@
|
|
|
-<!DOCTYPE html>
|
|
|
-<html lang="en">
|
|
|
- <head>
|
|
|
- <meta charset="utf-8" />
|
|
|
- <base href="../../../../" />
|
|
|
- <script src="page.js"></script>
|
|
|
- <link type="text/css" rel="stylesheet" href="page.css" />
|
|
|
- </head>
|
|
|
- <body>
|
|
|
- <h1>[name]</h1>
|
|
|
-
|
|
|
- <p class="desc"></p>
|
|
|
-
|
|
|
-
|
|
|
- <h2>Methods</h2>
|
|
|
-
|
|
|
- <h3>[method:null enable]( [param:Integer id], [param:Boolean boolean] )</h3>
|
|
|
- <p>
|
|
|
- TODO
|
|
|
- </p>
|
|
|
-
|
|
|
- <h3>[method:null disable]( [param:Integer id], [param:Boolean boolean] )</h3>
|
|
|
- <p>
|
|
|
- TODO
|
|
|
- </p>
|
|
|
-
|
|
|
- <h3>[method:null setDepthTest]( [param:Boolean depthTest] )</h3>
|
|
|
- <p>
|
|
|
- depthTest -- The boolean to decide if depth of a fragment needs to be tested against the depth buffer . <br />
|
|
|
- </p>
|
|
|
- <p>
|
|
|
- This sets, based on depthTest, whether or not the depth data needs to be tested against the depth buffer.
|
|
|
- </p>
|
|
|
-
|
|
|
- <h3>[method:null setDepthWrite]( [param:Boolean depthWrite] )</h3>
|
|
|
- <p>
|
|
|
- depthWrite -- The boolean to decide if depth of a fragment needs to be kept. <br />
|
|
|
- </p>
|
|
|
- <p>
|
|
|
- This sets, based on depthWrite, whether or not the depth data needs to be written in the depth buffer.
|
|
|
- </p>
|
|
|
-
|
|
|
- <h3>[method:null setBlending]( [param:number blending], [param:number blendEquation], [param:number blendSrc], [param:number blendDst] )</h3>
|
|
|
- <p>
|
|
|
- blending -- A number indicating the blending mode. Possible value are THREE.NoBlending, THREE.NormalBlending, THREE.AdditiveBlending, THREE.SubtractiveBlending, THREE.MultiplyBlending or THREE.CustomBlending <br />
|
|
|
- blendEquation -- When blending is THREE.CustomBlending, then you can set the blendEquation. Possible values are THREE.AddEquation, THREE.SubtractEquation or THREE.ReverseSubtractEquation.<br />
|
|
|
- blendSrc -- When blending is THREE.CustomBlending, then you can set the blendSrc. Possible values are THREE.ZeroFactor, THREE.OneFactor,THREE.SrcColorFactor, THREE.OneMinusSrcColorFactor, THREE.SrcAlphaFactor, THREE.OneMinusSrcAlphaFactor, THREE.DstAlphaFactor, THREE.OneMinusDstAlphaFactor, THREE.DstColorFactor,THREE.OneMinusDstColorFactor or THREE.SrcAlphaSaturateFactor<br />
|
|
|
- blendDst -- When blending is THREE.CustomBlending, then you can set the blendDst. Possible values are THREE.ZeroFactor, THREE.OneFactor,THREE.SrcColorFactor, THREE.OneMinusSrcColorFactor, THREE.SrcAlphaFactor, THREE.OneMinusSrcAlphaFactor, THREE.DstAlphaFactor, THREE.OneMinusDstAlphaFactor, THREE.DstColorFactor,THREE.OneMinusDstColorFactor or THREE.SrcAlphaSaturateFactor
|
|
|
- </p>
|
|
|
- <p>
|
|
|
- This method sets the correct blending.
|
|
|
- </p>
|
|
|
-
|
|
|
-
|
|
|
- <h2>Source</h2>
|
|
|
-
|
|
|
- <p>
|
|
|
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
|
- </p>
|
|
|
- </body>
|
|
|
-</html>
|