|
@@ -196,6 +196,16 @@
|
|
|
Current value of the uniform.
|
|
|
</div>
|
|
|
|
|
|
+ <h2>Methods</h2>
|
|
|
+
|
|
|
+ <h3>[method:Uniform clone]()</h3>
|
|
|
+ <div>
|
|
|
+ Returns a clone of this uniform.<br />
|
|
|
+ If the uniform's value property is an [page:Object] with a clone() method, this is used, otherwise the value is copied by assigment.
|
|
|
+ Array values are shared between cloned [page:Uniform]s.<br /><br />
|
|
|
+ See [example:webgldeferred_animation WebGL deferred animation] for an example of this method in use.
|
|
|
+ </div>
|
|
|
+
|
|
|
<h2>Source</h2>
|
|
|
|
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|