|
@@ -49,7 +49,7 @@
|
|
<div>
|
|
<div>
|
|
Used to check whether this or derived classes are Object3Ds. Default is *true*.<br /><br />
|
|
Used to check whether this or derived classes are Object3Ds. Default is *true*.<br /><br />
|
|
|
|
|
|
- You should not change this, as it used internally for optimisation.
|
|
|
|
|
|
+ You should not change this, as it is used internally for optimisation.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h3>[property:Layers layers]</h3>
|
|
<h3>[property:Layers layers]</h3>
|
|
@@ -69,7 +69,7 @@
|
|
|
|
|
|
<h3>[property:Matrix4 matrixWorld]</h3>
|
|
<h3>[property:Matrix4 matrixWorld]</h3>
|
|
<div>
|
|
<div>
|
|
- The global transform of the object. If the Object3d has no parent, then it's identical to
|
|
|
|
|
|
+ The global transform of the object. If the Object3D has no parent, then it's identical to
|
|
the local transform [page:.matrix].
|
|
the local transform [page:.matrix].
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -139,7 +139,7 @@
|
|
|
|
|
|
<h3>[property:object userData]</h3>
|
|
<h3>[property:object userData]</h3>
|
|
<div>
|
|
<div>
|
|
- An object that can be used to store custom data about the Object3d. It should not hold
|
|
|
|
|
|
+ An object that can be used to store custom data about the Object3D. It should not hold
|
|
references to functions as these will not be cloned.
|
|
references to functions as these will not be cloned.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -168,12 +168,12 @@
|
|
<div>
|
|
<div>
|
|
The default [page:.up up] direction for objects, also used as the default position for [page:DirectionalLight],
|
|
The default [page:.up up] direction for objects, also used as the default position for [page:DirectionalLight],
|
|
[page:HemisphereLight] and [page:Spotlight] (which creates lights shining from the top down).<br />
|
|
[page:HemisphereLight] and [page:Spotlight] (which creates lights shining from the top down).<br />
|
|
- Set to (0, 1, 0) by default.
|
|
|
|
|
|
+ Set to ( 0, 1, 0 ) by default.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h3>[property:Vector3 DefaultMatrixAutoUpdate]</h3>
|
|
<h3>[property:Vector3 DefaultMatrixAutoUpdate]</h3>
|
|
<div>
|
|
<div>
|
|
- The default setting for [page.matrixAutoUpdate matrixAutoUpdate] for newly created Object3Ds.<br />
|
|
|
|
|
|
+ The default setting for [page:.matrixAutoUpdate matrixAutoUpdate] for newly created Object3Ds.<br />
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -196,7 +196,7 @@
|
|
<div>
|
|
<div>
|
|
recursive -- if true, descendants of the object are also cloned. Default is true.<br /><br />
|
|
recursive -- if true, descendants of the object are also cloned. Default is true.<br /><br />
|
|
|
|
|
|
- Returns a clone of this object and optionaly all descendants.
|
|
|
|
|
|
+ Returns a clone of this object and optionally all descendants.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h3>[method:Object3D copy]( [page:Object3D object], [page:Boolean recursive] )</h3>
|
|
<h3>[method:Object3D copy]( [page:Object3D object], [page:Boolean recursive] )</h3>
|
|
@@ -216,7 +216,7 @@
|
|
|
|
|
|
<h3>[method:Object3D getObjectByName]( [page:String name] )</h3>
|
|
<h3>[method:Object3D getObjectByName]( [page:String name] )</h3>
|
|
<div>
|
|
<div>
|
|
- name -- String to match to the children's Object3d.name property. <br /><br />
|
|
|
|
|
|
+ name -- String to match to the children's Object3D.name property. <br /><br />
|
|
|
|
|
|
Searches through the object's children and returns the first with a matching name.<br />
|
|
Searches through the object's children and returns the first with a matching name.<br />
|
|
Note that for most objects the [property:name] is an empty string by default. You will
|
|
Note that for most objects the [property:name] is an empty string by default. You will
|
|
@@ -228,7 +228,7 @@
|
|
name -- the property name to search for. <br />
|
|
name -- the property name to search for. <br />
|
|
value -- value of the given property. <br /><br />
|
|
value -- value of the given property. <br /><br />
|
|
|
|
|
|
- Searches through the object's children and returns the first with a property that matches the aclue given.
|
|
|
|
|
|
+ Searches through the object's children and returns the first with a property that matches the value given.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h3>[method:Vector3 getWorldPosition]( [page:Vector3 optionalTarget] )</h3>
|
|
<h3>[method:Vector3 getWorldPosition]( [page:Vector3 optionalTarget] )</h3>
|