1 | import { Geometry } from './core/Geometry';
|
2 | import { Material } from './materials/Material';
|
3 | import { Object3D } from './core/Object3D';
|
4 | import { Scene } from './scenes/Scene';
|
5 |
|
6 | export namespace SceneUtils {
|
7 | export function createMultiMaterialObject(
|
8 | geometry: Geometry,
|
9 | materials: Material[]
|
10 | ): Object3D;
|
11 | export function detach( child: Object3D, parent: Object3D, scene: Scene ): void;
|
12 | export function attach( child: Object3D, scene: Scene, parent: Object3D ): void;
|
13 | }
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export class MultiMaterial extends Material {
|
19 |
|
20 | constructor( materials?: Material[] );
|
21 |
|
22 | readonly isMultiMaterial: true;
|
23 |
|
24 | materials: Material[];
|
25 |
|
26 | toJSON( meta: any ): any;
|
27 |
|
28 | }
|
29 |
|
30 | /**
|
31 | * @deprecated Material.vertexColors is now a boolean.
|
32 | */
|
33 | export enum Colors {}
|
34 | export const NoColors: Colors;
|
35 | export const FaceColors: Colors;
|
36 | export const VertexColors: Colors;
|