This commit is contained in:
ChenX
2024-08-29 20:03:59 +08:00
parent cd52d00b3c
commit acd7eaaca0
169 changed files with 1862 additions and 657 deletions

View File

@@ -1,6 +1,9 @@
import { Intersection, Object3D } from "three";
import { Curve, Intersection, Object3D, Raycaster } from "three";
import { Entity } from "../DatabaseServices/Entity/Entity";
import { PhysicalMaterialRecord } from "../DatabaseServices/PhysicalMaterialRecord";
import { Text } from "../DatabaseServices/Text/Text";
import { VisualSpaceBox } from "../Editor/VisualSpaceBox";
export declare const FilterTypes: (typeof Text | typeof Curve | typeof VisualSpaceBox)[];
/**
* 应用材质命令:应用材质到 app SelectEntityList
* @param material 要应用的材质
@@ -18,8 +21,9 @@ export declare function ApplyMtlToSelectEntityList(material: PhysicalMaterialRec
* @param material 材质
* @param en 实体
* @param intersection 射线相交信息
* @param raycaster 射线
*/
export declare function ApplyPartMtlToInterFace(material: PhysicalMaterialRecord, en: Entity, intersection: Intersection): void;
export declare function ApplyPartMtlToInterFace(material: PhysicalMaterialRecord, en: Entity, intersection: Intersection, raycaster: Raycaster): void;
/**
* 应用材质到选中的实体
* @param {PhysicalMaterialRecord} material 材质