@vrspace/babylonjs
Version:
vrspace.org babylonjs client
47 lines (46 loc) • 1.66 kB
TypeScript
/**
* Reusable SliderPicker Panel: creates a vertical StackPanel that contains
* name of the slider, and the Slider.
*/
export class VerticalSliderPanel extends SliderPanel {
constructor(text?: string, min?: number, max?: number, value?: number);
}
/**
* Reusable SliderPicker Panel: creates a horizontal StackPanel that contains
* name of the slider, and the Slider.
*/
export class HorizontalSliderPanel extends SliderPanel {
constructor(text?: string, min?: number, max?: number, value?: number);
}
/**
* Reusable SliderPicker Panel: creates a Plane, AdvancedTexture, and vertical StackPanel that contains
* name of the slider, and the Slider.
*/
export class VerticalSliderPlane extends VerticalSliderPanel {
constructor(size: any, text?: string, min?: number, max?: number, value?: number);
}
/**
* Reusable SliderPicker Panel: creates a Plane, AdvancedTexture, and horizontal StackPanel that contains
* name of the slider, and the Slider.
*/
export class HorizontalSliderPlane extends HorizontalSliderPanel {
constructor(size: any, text?: string, min?: number, max?: number, value?: number);
}
declare class SliderPanel {
constructor(text: any, min: any, max: any, value: any, vertical: any);
/** Number of decimals, that value is rounded to, default 2 */
decimals: number;
/** Current slider value, rounded */
value: any;
text: any;
panel: any;
header: any;
slider: any;
showValue(value: any): void;
setDecimals(decimals: any): void;
dispose(): void;
createPlane(size: any, width?: number, height?: number): any;
plane: any;
advancedTexture: any;
}
export {};