Models: Model[] & { autoUpdate: boolean; bounding: THREE.Box3; cacheCameras: (THREE.PerspectiveCamera | Camera)[]; loaded: boolean; materialVersion: number; needsRender: boolean; refineProgress: [number, number]; refined: boolean; getMaterial(): ModelMaterialValues; intersectRaycaster(raycaster: Raycaster): Intersection[]; resetBrightness(): void; setMaterial(values: Partial<ModelMaterialValues>): void; update(renderer: WebGLRenderer,
camera: Camera,
mode: Mode): void; } Type declaration
autoUpdate: boolean
bounding: THREE.Box3
cacheCameras: (THREE.PerspectiveCamera | Camera)[]
loaded: boolean
materialVersion: number
needsRender: boolean
refineProgress: [number, number]
refined: boolean
getMaterial:function
intersectRaycaster:function
- intersectRaycaster(raycaster): Intersection[]
返回碰撞
resetBrightness:function
- resetBrightness(): void
Returns void
setMaterial:function
- setMaterial(values): void
Returns void
update:function
- update(renderer, camera, mode): void
Returns void
是否自动更新模型