|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import { Line as TLine, Mesh, Object3D } from "three";
|
|
|
|
|
import { Line as TLine, Mesh, MeshStandardMaterial, Object3D } from "three";
|
|
|
|
|
import { HostApplicationServices } from "../../../../ApplicationServices/HostApplicationServices";
|
|
|
|
|
import { ColorMaterial } from "../../../../Common/ColorPalette";
|
|
|
|
|
import { equaln } from "../../../../Geometry/GeUtils";
|
|
|
|
|
import { RenderType } from "../../../../GraphicsSystem/RenderType";
|
|
|
|
@ -11,6 +12,7 @@ import { Curve } from "../../../Entity/Curve";
|
|
|
|
|
import { Line } from "../../../Entity/Line";
|
|
|
|
|
import { Polyline } from "../../../Entity/Polyline";
|
|
|
|
|
import { ObjectId } from "../../../ObjectId";
|
|
|
|
|
import { PhysicalMaterialRecord } from "../../../PhysicalMaterialRecord";
|
|
|
|
|
import { RoomBase } from "../RoomBase";
|
|
|
|
|
import { RoomHolePolyline } from "./Hole/RoomHolePolyline";
|
|
|
|
|
import { WallSnapMode } from "./WallSnapMode";
|
|
|
|
@ -108,6 +110,13 @@ export abstract class RoomWallBase extends RoomBase
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected get MeshMaterial()
|
|
|
|
|
{
|
|
|
|
|
if (this._MaterialId && this._MaterialId.Object)
|
|
|
|
|
return (<PhysicalMaterialRecord>this._MaterialId.Object).Material as MeshStandardMaterial;
|
|
|
|
|
return HostApplicationServices.DefaultWallMaterial ?? HostApplicationServices.DefaultMeshMaterial;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//绘制相关_end
|
|
|
|
|
|
|
|
|
|
//为了支持F后正确的保持洞
|
|
|
|
|