|
@@ -105,17 +105,27 @@
|
|
|
|
|
|
<h3>[property:Function onAfterRender]</h3>
|
|
<h3>[property:Function onAfterRender]</h3>
|
|
<p>
|
|
<p>
|
|
- An optional callback that is executed immediately after the Object3D is rendered.
|
|
|
|
|
|
+ An optional callback that is executed immediately after a 3D object is rendered.
|
|
This function is called with the following parameters: renderer, scene, camera, geometry,
|
|
This function is called with the following parameters: renderer, scene, camera, geometry,
|
|
material, group.
|
|
material, group.
|
|
</p>
|
|
</p>
|
|
|
|
+ <p>
|
|
|
|
+ Please notice that this callback is only executed for *renderable* 3D objects. Meaning 3D objects which define their visual
|
|
|
|
+ appearance with geometries and materials like instances of [page:Mesh], [page:Line], [page:Points] or [page:Sprite].
|
|
|
|
+ Instances of [page:Object3D], [page:Group] or [page:Bone] are not renderable and thus this callback is not executed for such objects.
|
|
|
|
+ </p>
|
|
|
|
|
|
<h3>[property:Function onBeforeRender]</h3>
|
|
<h3>[property:Function onBeforeRender]</h3>
|
|
<p>
|
|
<p>
|
|
- An optional callback that is executed immediately before the Object3D is rendered.
|
|
|
|
|
|
+ An optional callback that is executed immediately before a 3D object is rendered.
|
|
This function is called with the following parameters: renderer, scene, camera, geometry,
|
|
This function is called with the following parameters: renderer, scene, camera, geometry,
|
|
material, group.
|
|
material, group.
|
|
</p>
|
|
</p>
|
|
|
|
+ <p>
|
|
|
|
+ Please notice that this callback is only executed for *renderable* 3D objects. Meaning 3D objects which define their visual
|
|
|
|
+ appearance with geometries and materials like instances of [page:Mesh], [page:Line], [page:Points] or [page:Sprite].
|
|
|
|
+ Instances of [page:Object3D], [page:Group] or [page:Bone] are not renderable and thus this callback is not executed for such objects.
|
|
|
|
+ </p>
|
|
|
|
|
|
<h3>[property:Object3D parent]</h3>
|
|
<h3>[property:Object3D parent]</h3>
|
|
<p>Object's parent in the [link:https://en.wikipedia.org/wiki/Scene_graph scene graph]. An object can have at most
|
|
<p>Object's parent in the [link:https://en.wikipedia.org/wiki/Scene_graph scene graph]. An object can have at most
|