webcad-api/types/GraphicsSystem/RenderType.d.ts

58 lines
1.7 KiB
TypeScript
Raw Normal View History

2024-03-26 11:10:20 +08:00
/**
* .
*/
export declare enum RenderType {
/**
* 线
*/
Wireframe = 1,
/**
*
*/
Conceptual = 2,
2024-12-09 10:12:56 +08:00
/** 概念(透明)*/
ConceptualTransparent = 82,// ConceptualTransparent原本的值是182估计是写错了不应该大于100的
2024-03-26 11:10:20 +08:00
/**
* PBR
*/
Physical = 3,
Jig = 4,
Print = 5,
/**物理带线框 */
Physical2 = 6,
Edge = 7,//封边检查 OpenCabinet.UNOPENRENDERTYPE 该视图下不支持开门动作
PlaceFace = 8,//排版面 OpenCabinet.UNOPENRENDERTYPE 该视图下不支持开门动作
BigHoleFace = 81,//大孔面 OpenCabinet.UNOPENRENDERTYPE 该视图下不支持开门动作
CustomNumber = 9,//自定义编号
ModelGroove = 10,//造型槽 OpenCabinet.UNOPENRENDERTYPE 该视图下不支持开门动作
/******************************************** 在视口时的渲染模式 */
/**
* 线
*/
WireframePrint = 101,
/**
*
*/
ConceptualPrint = 102,
/**
* PBR
*/
PhysicalPrint = 103,
JigPrint = 104,
PrintPrint = 105,
/**真实带线框 */
Physical2Print = 106,
2024-12-09 10:12:56 +08:00
CustomNumberPrint = 109
2024-03-26 11:10:20 +08:00
}
2024-12-09 10:12:56 +08:00
/** 实体的渲染颜色种类 */
export declare enum ColorInTransparent {
= 0,
= 1
}
/** 渲染的状态 */
export declare const RenderState: {
/** 概念透明下的实体颜色 */
ConceptualColor: ColorInTransparent;
};
export declare function IsPhysical(renderType: RenderType): renderType is RenderType.Physical | RenderType.Physical2 | RenderType.PhysicalPrint | RenderType.Physical2Print;
2024-03-26 11:10:20 +08:00
//# sourceMappingURL=RenderType.d.ts.map