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

33 lines
1.7 KiB
TypeScript
Raw Normal View History

2024-08-29 20:03:59 +08:00
import { Curve, Intersection, Object3D, Raycaster } from "three";
2024-08-14 17:08:00 +08:00
import { Entity } from "../DatabaseServices/Entity/Entity";
import { PhysicalMaterialRecord } from "../DatabaseServices/PhysicalMaterialRecord";
2024-08-29 20:03:59 +08:00
import { Text } from "../DatabaseServices/Text/Text";
import { VisualSpaceBox } from "../Editor/VisualSpaceBox";
export declare const FilterTypes: (typeof Text | typeof Curve | typeof VisualSpaceBox)[];
2024-08-14 17:08:00 +08:00
/**
* 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 线
2024-08-29 20:03:59 +08:00
* @param raycaster 线
2024-08-14 17:08:00 +08:00
*/
2024-08-29 20:03:59 +08:00
export declare function ApplyPartMtlToInterFace(material: PhysicalMaterialRecord, en: Entity, intersection: Intersection, raycaster: Raycaster): void;
2024-08-14 17:08:00 +08:00
/**
*
* @param {PhysicalMaterialRecord} material
* @param {Object3D[]} selectedObj
*/
export declare function ApplyMtlToSelectedObjs(material: PhysicalMaterialRecord, selectedObj: Object3D[]): void;
//# sourceMappingURL=ApplyMaterial.d.ts.map