@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
16 lines (13 loc) • 397 B
JavaScript
import { ORIENTATION_HORIZONTAL } from '../../../scene/constants.js';
class ScrollbarComponentData {
constructor() {
this.enabled = true;
this.orientation = ORIENTATION_HORIZONTAL;
this.value = 0;
/** @type {number} */
this.handleSize = 0;
/** @type {import('../../../framework/entity').Entity} */
this.handleEntity = null;
}
}
export { ScrollbarComponentData };