onAfterRender property
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, material, group.
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 Mesh, Line,
Points or Sprite. Instances of Object3D, Group
or Bone are not renderable and thus this callback is not executed
for such objects.
Implementation
OnAfterRender? onAfterRender;