UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

23 lines (21 loc) 534 B
/** * Disable all fitting logic. * * @category User Interface */ const FITTING_NONE = 0; /** * Stretch child elements to fit the parent container. * * @category User Interface */ const FITTING_STRETCH = 1; /** * Shrink child elements to fit the parent container. * * @category User Interface */ const FITTING_SHRINK = 2; /** * Apply both STRETCH and SHRINK fitting logic where applicable. * * @category User Interface */ const FITTING_BOTH = 3; export { FITTING_BOTH, FITTING_NONE, FITTING_SHRINK, FITTING_STRETCH };