@babylonjs/gui
Version:
Babylon.js GUI module =====================
23 lines (22 loc) • 624 B
TypeScript
import { Container3D } from "./container3D.js";
/**
* Class used to create a stack panel in 3D on XY plane
*/
export declare class StackPanel3D extends Container3D {
private _isVertical;
/**
* Gets or sets a boolean indicating if the stack panel is vertical or horizontal (horizontal by default)
*/
get isVertical(): boolean;
set isVertical(value: boolean);
/**
* Gets or sets the distance between elements
*/
margin: number;
/**
* Creates new StackPanel
* @param isVertical
*/
constructor(isVertical?: boolean);
protected _arrangeChildren(): void;
}