@zeainc/zea-ux
Version:
18 lines • 729 B
TypeScript
import { Color, TreeItem, ZeaPointerEvent } from '@zeainc/zea-engine';
declare class ViewCube extends TreeItem {
private viewport;
private normalMaterial;
private highlightedMaterial;
private highlightedGeom;
/**
* Create an axial rotation scene widget.
*
* @param size - The size value.
*/
constructor(size?: number, roundness?: number, faceColor?: Color, faceHighlightColor?: Color, labels?: Record<string, string>, fontSize?: number, margin?: number);
setFaceColor(faceColor: Color, faceHighlightColor: Color): void;
onPointerEnter(event: ZeaPointerEvent): void;
onPointerLeave(event: ZeaPointerEvent): void;
}
export { ViewCube };
//# sourceMappingURL=ViewCube.d.ts.map