The manager that owns this RenderNode.
Optionalconfig: SubmitterQuadConfigThe configuration object for this Submitter. This is a SubmitterQuad configuration object with the name defaulting to SubmitterTileSprite.
The key of the RenderNode used to render data.
The default configuration for this RenderNode.
The manager that owns this RenderNode.
The name of the RenderNode.
By default this is an empty method hook that you can override and use in your own custom render nodes.
This method is called at the start of the run method.
Don't forget to call it in your custom method.
The context currently in use.
By default this is an empty method hook that you can override and use in your own custom render nodes.
This method is called at the end of the run method.
Don't forget to call it in your custom method.
The context currently in use.
Submit data for rendering.
The current drawing context.
The GameObject being rendered.
The parent matrix of the GameObject.
The specific element within the game object. This is used for objects that consist of multiple quads.
The texturer node used to texture the GameObject. You may pass a TexturerTileSprite node or an object containing equivalent data without a run method.
The transformer node used to transform the GameObject. You may pass a transformer node or an object with a quad property.
OptionaltinterNode: RenderNode | Omit<RenderNode, "run">The tinter node used to tint the GameObject. You may pass a tinter node or an object containing equivalent data without a run method. If omitted, Image-style tinting will be used.
OptionalnormalMap: WebGLTextureWrapperThe normal map texture to use for lighting. If omitted, the normal map texture of the GameObject will be used, or the default normal map texture of the renderer.
OptionalnormalMapRotation: numberThe rotation of the normal map texture. If omitted, the rotation of the GameObject will be used.
Set whether the node should report debug information.
It wraps the run method with additional debug information.
Whether to report debug information.
The SubmitterTileSprite RenderNode submits data for rendering a single TileSprite GameObject. It uses a BatchHandler to render the TileSprite as part of a batch.
This node receives the drawing context, game object, and parent matrix. It also receives the texturer, tinter, and transformer nodes from the node that invoked it. This allows the behavior to be configured by setting the appropriate nodes on the GameObject for individual tweaks, or on the invoking Renderer node for global changes.