19 lines
452 B
TypeScript
19 lines
452 B
TypeScript
import type { Object3D, Material, Color } from "three";
|
|
export interface MaterialExtends extends Material {
|
|
color?: Color;
|
|
warningColor?: Color;
|
|
}
|
|
export type ModelExtendsData = {
|
|
warn?: boolean;
|
|
name: string;
|
|
[key: string]: any;
|
|
};
|
|
export interface Object3DExtends extends Object3D {
|
|
isGroup?: boolean;
|
|
isMesh?: boolean;
|
|
material?: MaterialExtends;
|
|
oldMaterial?: MaterialExtends;
|
|
addData?: ModelExtendsData;
|
|
dom?: HTMLElement;
|
|
}
|