webcad-ue4-api/types/Common/ApplyMaterial.d.ts

40 lines
2.0 KiB
TypeScript
Raw Normal View History

2024-10-29 17:14:43 +08:00
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
* @param canApplyToBoardGoodsInfo
*/
export declare function ApplyMtlToSelectEntityListCmd(material: PhysicalMaterialRecord, canApplyToBoardGoodsInfo?: boolean): void;
/**
* app SelectEntityList
* @param material
* @param canApplyToBoardGoodsInfo
*/
export declare function ApplyMtlToSelectEntityList(material: PhysicalMaterialRecord, canApplyToBoardGoodsInfo?: boolean): void;
/**
* 线
* @param material
* @param en
* @param intersection 线
* @param raycaster 线
*/
export declare function ApplyPartMtlToInterFace(material: PhysicalMaterialRecord, en: Entity, intersection: Intersection, raycaster: Raycaster): void;
/**
*
* @param {PhysicalMaterialRecord} material
* @param {Object3D[]} selectedObj
*/
export declare function ApplyMtlToSelectedObjs(material: PhysicalMaterialRecord, selectedObj: Object3D[]): void;
/**
* 使
* @param {PhysicalMaterialRecord} mtl
* @param {boolean} [containErasedMtl=false]
* @return {*} {Entity[]}
*/
export declare function GetUseCurMtlEntities(mtl: PhysicalMaterialRecord, containErasedMtl?: boolean): Entity[];
//# sourceMappingURL=ApplyMaterial.d.ts.map