This class is responsible to draw bothe outline/overlay of meshes. It should not be used directly but through the available method on mesh.
The name of the component. Each component must have a unique name.
The scene the component belongs to.
Defines a zOffset to prevent zFighting between the overlay and the mesh.
Disposes the component and the associated ressources.
Returns whether or not the outline renderer is ready for a given submesh. All the dependencies e.g. submeshes, texture, effect... mus be ready
Defines the submesh to check readyness for
Defines wheter wee are trying to render instances or not
true if ready otherwise false
Rebuilds the elements related to this component in case of context lost for instance.
Register the component to one instance of a scene.
Renders the outline in the canvas.
Defines the sumesh to render
Defines the batch of meshes in case of instances
Defines if the rendering is for the overlay or the outline
Generated using TypeDoc