FlexBox(plane, params) ⇒ None

CSS Inspired Flexbox

Param Type Description
plane THREE.Object3D Container Plane object which children elements conform to
params Object Optional dictionary for X/Y Scrolling, element radius and padding
let params = {
  enabled: true,
  padding: 0.591,
  roundedRadius: 0.053,
  width: 0.324,
  direction: "Row",
  height: 0.324,
  YScroll: true,
  XScroll: false,
  rounded: true,
};

UI.FlexBox(planeObject, params);