You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WebCAD/.vscode/EntityDraw.code-snippets

28 lines
765 B

{
"实体绘制": {
"prefix": "draw",
"body": [
"//#region Draw",
"InitDrawObject(renderType: RenderType = RenderType.Wireframe)",
"{",
" let obj = new Object3D();",
" if (renderType === RenderType.Physical)",
" {",
" ",
" }",
" return obj;",
"}",
"",
"UpdateDrawObject(renderType: RenderType, obj: Object3D)",
"{",
" if (renderType === RenderType.Physical)",
" {",
" ",
" }",
"}",
"//#endregion"
],
"description": "实体绘制代码"
}
}