Viewport3D
¶
Use the Viewport 3D node to render 2D nodes in 3D space.
Kanzi creates a texture from the 2D prefab that you set a Viewport 3D node to render. The Viewport 3D renders that texture on a plane mesh. To render the texture, you can use any material that supports the rendering of textures.
In the Viewport 3D node, you can use the Node::WidthProperty and Node::HeightProperty to set the size of the plane on which the Viewport 3D renders the texture.
Use a Viewport 3D to display 2D objects in 3D space.
Inherits properties and message types from Viewport3DMetadata.
Creates a viewport.
| name | (string) | Node name. |