Optionalname: stringOptionalisVertical: booleanOptionalspacing: numberOptionalwidth: string | numberOptionalheight: string | numberOptionalcolor: stringOptionalbackground: stringOptionalnameName the panel is known by, which control.getControlByName finds it by
OptionalisWhen true, children stack top to bottom; when false, left to right
OptionalspacingGap between neighboring children, in pixels
OptionalwidthWidth as a pixel string or a fraction; give it for a vertical panel and leave it out for a horizontal one, which sizes from its children
OptionalheightHeight as a pixel string or a fraction; give it for a horizontal panel and leave it out for a vertical one, which sizes from its children
OptionalcolorCSS color of the panel's text and border; the default is fully transparent
OptionalbackgroundCSS color behind the children; the default is a translucent black so the panel can be seen
Feeds
babylon.gui.stackPanel.createStackPanel: the name, direction, spacing, optional sizes and colors of a panel that lines its children up.