123456789101112131415161718192021222324252627282930313233343536 |
- import { Geometry } from './core/Geometry';
- import { Material } from './materials/Material';
- import { Object3D } from './core/Object3D';
- import { Scene } from './scenes/Scene';
- export namespace SceneUtils {
- export function createMultiMaterialObject(
- geometry: Geometry,
- materials: Material[]
- ): Object3D;
- export function detach( child: Object3D, parent: Object3D, scene: Scene ): void;
- export function attach( child: Object3D, scene: Scene, parent: Object3D ): void;
- }
- /**
- * @deprecated Use an Array instead.
- */
- export class MultiMaterial extends Material {
- constructor( materials?: Material[] );
- readonly isMultiMaterial: true;
- materials: Material[];
- toJSON( meta: any ): any;
- }
- /**
- * @deprecated Material.vertexColors is now a boolean.
- */
- export enum Colors {}
- export const NoColors: Colors;
- export const FaceColors: Colors;
- export const VertexColors: Colors;
|