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

55 lines
1.6 KiB
TypeScript
Raw Normal View History

2024-10-29 17:14:43 +08:00
/**
* .
*/
export declare enum RenderType {
/**
* 线
*/
Wireframe = 1,
/**
*
*/
Conceptual = 2,
/** 概念(透明)*/
ConceptualTransparent = 82,// ConceptualTransparent原本的值是182估计是写错了不应该大于100的
/**
* 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,
CustomNumberPrint = 109
}
/** 实体的渲染颜色种类 */
export declare const ColorMap: Map<string, number>;
/** 渲染的状态 */
export declare const RenderState: {
/** 概念透明下的实体颜色 */
ConceptualColor: number;
};
export declare function IsPhysical(renderType: RenderType): renderType is RenderType.Physical | RenderType.Physical2 | RenderType.PhysicalPrint | RenderType.Physical2Print;
//# sourceMappingURL=RenderType.d.ts.map