2D Render Description

    The rendering requirements for the 2D render object are twofold:

    1. It needs to have a UITransform component
    2. It needs to be a child of a RenderRoot node

    Since there is no difference between 2D rendering objects and 3D renderable nodes in terms of camera visibility, users need to control the layer property of the node and set the Visibility of the camera to match the group rendering. If there are multiple cameras in the scene, wrong layer settings may cause the node to be rendered repeatedly or not at all.

    Some 2D renderable components are built into the editor. After creating a RenderRoot node, create a node with 2D renderable components under this node:

    add-render-component