|
@@ -79,6 +79,13 @@
|
|
instanced data via [page:.setMatrixAt]().
|
|
instanced data via [page:.setMatrixAt]().
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
+ <h3>[property:DataTexture morphTexture]</h3>
|
|
|
|
+ <p>
|
|
|
|
+ Represents the morph target weights of all instances. You have to set its
|
|
|
|
+ [page:Texture.needsUpdate needsUpdate] flag to true if you modify
|
|
|
|
+ instanced data via [page:.setMorphAt]().
|
|
|
|
+ </p>
|
|
|
|
+
|
|
<h3>[property:Boolean isInstancedMesh]</h3>
|
|
<h3>[property:Boolean isInstancedMesh]</h3>
|
|
<p>Read-only flag to check if a given object is of type [name].</p>
|
|
<p>Read-only flag to check if a given object is of type [name].</p>
|
|
|
|
|
|
@@ -132,6 +139,18 @@
|
|
</p>
|
|
</p>
|
|
<p>Get the local transformation matrix of the defined instance.</p>
|
|
<p>Get the local transformation matrix of the defined instance.</p>
|
|
|
|
|
|
|
|
+ <h3>
|
|
|
|
+ [method:undefined getMorphAt]( [param:Integer index], [param:Mesh mesh] )
|
|
|
|
+ </h3>
|
|
|
|
+ <p>
|
|
|
|
+ [page:Integer index]: The index of an instance. Values have to be in the
|
|
|
|
+ range [0, count].
|
|
|
|
+ </p>
|
|
|
|
+ <p>
|
|
|
|
+ [page:Mesh mesh]: The [page:Mesh.morphTargetInfluences .morphTargetInfluences] property of this mesh will be filled with the morph target weights of the defined instance.
|
|
|
|
+ </p>
|
|
|
|
+ <p>Get the morph target weights of the defined instance.</p>
|
|
|
|
+
|
|
<h3>
|
|
<h3>
|
|
[method:undefined setColorAt]( [param:Integer index], [param:Color color] )
|
|
[method:undefined setColorAt]( [param:Integer index], [param:Color color] )
|
|
</h3>
|
|
</h3>
|
|
@@ -163,6 +182,23 @@
|
|
to true after updating all the matrices.
|
|
to true after updating all the matrices.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
+ <h3>
|
|
|
|
+ [method:undefined setMorphAt]( [param:Integer index], [param:Mesh mesh] )
|
|
|
|
+ </h3>
|
|
|
|
+ <p>
|
|
|
|
+ [page:Integer index]: The index of an instance. Values have to be in the
|
|
|
|
+ range [0, count].
|
|
|
|
+ </p>
|
|
|
|
+ <p>
|
|
|
|
+ [page:Matrix4 matrix]: A mesh with [page:Mesh.morphTargetInfluences .morphTargetInfluences] property containing the morph target weights
|
|
|
|
+ of a single instance.
|
|
|
|
+ </p>
|
|
|
|
+ <p>
|
|
|
|
+ Sets the morph target weights to the defined instance. Make
|
|
|
|
+ sure you set [page:.morphTexture][page:Texture.needsUpdate .needsUpdate]
|
|
|
|
+ to true after updating all the influences.
|
|
|
|
+ </p>
|
|
|
|
+
|
|
<h2>Source</h2>
|
|
<h2>Source</h2>
|
|
|
|
|
|
<p>
|
|
<p>
|