UNPKG

504 BTypeScriptView Raw
1import THREE from './Three';
2declare type AnyFunction = (...args: any[]) => any;
3declare type AnyObject = {
4 [key: string]: any;
5};
6declare type ObjectOrFunction = AnyObject | AnyFunction;
7export default class CubeTexture extends THREE.CubeTexture {
8 static format: {
9 direct_s: string[];
10 coord_s: string[];
11 coord_m: string[];
12 };
13 loadAsync: (options: {
14 assetForDirection: ObjectOrFunction;
15 directions?: string[];
16 }) => Promise<void>;
17}
18export {};