webcad-ue4-api/types/ApplicationServices/HostApplicationServices.d.ts

104 lines
3.7 KiB
TypeScript
Raw Normal View History

2025-04-01 14:56:29 +08:00
import { MeshBasicMaterial, MeshStandardMaterial, Texture, Vector3 } from 'three';
2024-10-29 17:14:43 +08:00
import { FractionDigitsType } from '../Common/SystemEnum';
import { Database } from '../DatabaseServices/Database';
import { LayerTableRecord } from '../DatabaseServices/LayerTableRecord';
import { ObjectId } from '../DatabaseServices/ObjectId';
import { ICursorConfig } from '../Editor/ICursorConfig';
import { RenderType } from '../GraphicsSystem/RenderType';
import { DrillingOption } from '../UI/Store/drillInterface';
export declare class IHostApplicationServices {
Database: Database;
DefaultMeshMaterial?: MeshBasicMaterial | MeshStandardMaterial;
DefaultFloorMaterial?: MeshBasicMaterial | MeshStandardMaterial;
DefaultWallMaterial?: MeshBasicMaterial | MeshStandardMaterial;
DefaultBulkheadCeilingMaterial?: MeshBasicMaterial | MeshStandardMaterial;
IsRoomEntityVisible: boolean;
CurrentLayer: ObjectId<LayerTableRecord>;
/** 当前画笔的颜色索引 */
CurrentColorindex: number;
2025-04-01 14:56:29 +08:00
/** 当前相机的朝向 */
CurrentCameraDirection: Vector3;
2024-10-29 17:14:43 +08:00
CurrentDimStyle: ObjectId;
CurrentFontStyle: ObjectId;
isShowLightShadow: boolean;
ShowHistoryLog: boolean;
Physical2EdgeColor: number;
ConceptualEdgeColor: number;
ConceptualOpacity: number;
ConceptualTransparentOpacity: number;
2025-04-01 14:56:29 +08:00
IsTransparentMetals: boolean;
IsTransparentComp: boolean;
2024-10-29 17:14:43 +08:00
DrawWallBottomFace: boolean;
sealReserve: number;
private __ProxyObject__;
static __ProxyKeys__: string[];
get ProxyObject(): any;
set ProxyObject(obj: any);
_renderType: RenderType;
DrillConfigs: Map<string, DrillingOption[]>;
openDrillingReactor: boolean;
sealingColorMap: [string, string][];
showLines: boolean;
showOpenDirLines: boolean;
doorLinesOption: {
physicalShowLines: boolean;
physicalShowLines2: boolean;
reverseOpenDirLines: boolean;
};
show2DPathLine: boolean;
show2DPathObject: boolean;
uese: string;
forceFilterPxl: boolean;
2025-04-01 14:56:29 +08:00
/** 是否只亮显有大孔的面 */
isOnlyShowBigHole: boolean;
2024-10-29 17:14:43 +08:00
chaidanOption: {
changXiuBian: number;
duanXiuBian: number;
useDefaultRad: boolean;
radius: number;
modeling2HoleRad: number;
isCheckInterfere: boolean;
noModeingData: string;
statTk: boolean;
statSt: boolean;
drillRemark: boolean;
checkSealType: string;
sealMaxValue: number;
sealValues: string;
hardwareExpressionFormattingAccuracy: number;
partialSplitValueCanTakesEffect: boolean;
cancelHoleProcessing: boolean;
isCheckCustomBoardNumber: boolean;
};
viewSize: {
minViewHeight: number;
maxViewHeight: number;
zoomSpeed: number;
};
cursorSize: ICursorConfig;
2025-04-01 14:56:29 +08:00
linewidths: {
Conceptual: number;
Physical2: number;
};
2024-10-29 17:14:43 +08:00
dimTextHeight: number;
boardCustomNumberTextHeight: number;
lineWidth: number;
fractionDigitsType: FractionDigitsType;
throughModelSegmentedDrill: boolean;
autoDeviation: boolean;
autoDeviationMinDist: number;
smallGrooveThreshold: number;
2025-04-01 14:56:29 +08:00
sealWidthPercentage: number;
useGoodMaterial: boolean;
showAllTextInBox: boolean;
/** 是否设置2/3点空间的父节点 */
isSetParentNodeInPos: boolean;
SealViewShowHardwareEntity: boolean;
2024-10-29 17:14:43 +08:00
private constructor();
private static _SingleInstance;
static GetInstance(): IHostApplicationServices;
LoadDefaultExr(): Promise<Texture>;
LoadMetalEnv(): Promise<Texture>;
}
export declare let HostApplicationServices: IHostApplicationServices;
//# sourceMappingURL=HostApplicationServices.d.ts.map