UNPKG

@mlightcad/three-viewcube

Version:

A highly customizable standalone view cube addon for three.js

45 lines 1.31 kB
import * as THREE from 'three'; import { FaceNames } from './faceNames'; export declare function createTextSprite(text: string): THREE.Sprite<THREE.Object3DEventMap>; export declare function createFaceMaterials(faceNames?: FaceNames, fontSize?: number): { name: string; map: THREE.Texture; }[]; export declare const FACES: { TOP: string; FRONT: string; RIGHT: string; BACK: string; LEFT: string; BOTTOM: string; TOP_FRONT_EDGE: string; TOP_RIGHT_EDGE: string; TOP_BACK_EDGE: string; TOP_LEFT_EDGE: string; FRONT_RIGHT_EDGE: string; BACK_RIGHT_EDGE: string; BACK_LEFT_EDGE: string; FRONT_LEFT_EDGE: string; BOTTOM_FRONT_EDGE: string; BOTTOM_RIGHT_EDGE: string; BOTTOM_BACK_EDGE: string; BOTTOM_LEFT_EDGE: string; TOP_FRONT_RIGHT_CORNER: string; TOP_BACK_RIGHT_CORNER: string; TOP_BACK_LEFT_CORNER: string; TOP_FRONT_LEFT_CORNER: string; BOTTOM_FRONT_RIGHT_CORNER: string; BOTTOM_BACK_RIGHT_CORNER: string; BOTTOM_BACK_LEFT_CORNER: string; BOTTOM_FRONT_LEFT_CORNER: string; }; export declare const CORNER_FACES: { name: string; }[]; export declare const EDGE_FACES: { name: string; }[]; export declare const EDGE_FACES_SIDE: { name: string; }[]; //# sourceMappingURL=viewCubeData.d.ts.map