@threlte/extras
Version:
Utilities, abstractions and plugins for your Threlte apps
16 lines (15 loc) • 421 B
TypeScript
import { type CubeTexture } from 'three';
import type { CommonEnvironmentProps } from '../types';
export type CubeEnvironmentProps = CommonEnvironmentProps<CubeTexture> & {
/**
* The files to load or the textures to use
*/
urls?: [
positiveX: string,
negativeX: string,
positiveY: string,
negativeY: string,
positiveZ: string,
negativeZ: string
];
};