World3D constructor
World3D({})
The root component for all 3D world elements.
The primary feature of this component is that it allows Component3Ds to render directly to a GraphicsDevice instead of the regular rendering.
Implementation
World3D({
super.children,
super.priority,
Color clearColor = const Color(0x00000000),
}) : device = GraphicsDevice(clearValue: clearColor) {
children.register<LightComponent>();
}