Optional canvasThe starting height of the Root#viewport's canvas.
Optional canvasThe starting width of the Root#viewport's canvas.
Optional collisionThe collision group that this root's collider will belong to. If null, collider and cursor-target will not be added. 1 by default.
Optional constraintsThe starting layout constraints of the Root.
Optional keyboardThe KeyboardDriver to dispatch key events to. If null (default), WLRoot.keyboardDriver is used.
Optional keyboardThe keyboard template to use for the VirtualKeyboard Widget in a VirtualKeyboardRoot.
Optional pointerSets Root#pointerStyleHandler.
Optional preventSets Root#preventBleeding.
Optional registerRegister the default keyboard driver to this root? true by default.
Optional registerRegister the default pointer driver to this root? If collisionGroup is null, this is forced to false. true by default.
Optional resolutionSets Root#resolution.
Optional themeSets Root#child's Widget#inheritedTheme.
Optional unitsThe amount of world units per canvas pixel. Determines the pixel density of the mesh. 0.01 by default.
Generated using TypeDoc
Optional WLVirtualKeyboardRoot constructor properties.