Skip to content

Mesh Renderer

The mesh renderer is a component that renders a mesh.

The MeshRendererRecorderModule automatically picks up every mesh renderer in the scene and records:

  • Whether the mesh renderer is enabled or not
  • Reference to the mesh asset

Creation and destruction

The creation and destruction of a mesh renderer component are recorded as a MeshRendererCreate and MeshRendererDestroy sample respectively.

When created, a MeshRendererUpdate and RendererUpdate samples are emitted with the initial values of the mesh renderer component.

Update

Hooks

A MeshRendererUpdate sample is emitted when a change in the component properties is detected. The following methods are hooked to detect those changes:

Info

See the associated proto files for more information on the data format.