playcanvas
Version:
PlayCanvas WebGL game engine
16 lines (14 loc) • 448 B
JavaScript
/**
* Always use the application's resolution as the resolution for the {@link ScreenComponent}.
*
* @type {string}
* @category User Interface
*/ var SCALEMODE_NONE = 'none';
/**
* Scale the {@link ScreenComponent} when the application's resolution is different than the
* ScreenComponent's referenceResolution.
*
* @type {string}
* @category User Interface
*/ var SCALEMODE_BLEND = 'blend';
export { SCALEMODE_BLEND, SCALEMODE_NONE };