Optionalname: stringOptionalisChecked: booleanOptionalcheckSizeRatio: numberOptionalcolor: stringOptionalbackground: stringOptionalwidth: string | numberOptionalheight: string | numberName the checkbox is known by, which control.getControlByName finds it by
When true, the checkbox starts checked
How much of the square the inner mark fills, from 0 to 1
CSS color of the mark and the border
CSS color of the square behind the mark
OptionalwidthWidth, as a pixel string such as 200px or a fraction of the parent from 0 to 1; left
out, the engine chooses
OptionalheightHeight, as a pixel string such as 200px or a fraction of the parent from 0 to 1; left
out, the engine chooses
Feeds
babylon.gui.checkbox.createCheckbox: the name, starting state, mark size, colors and optional size of a checkbox.