Members
-
readonlyheight
-
模型高度
Properties:
Type Description number -
readonlylevel
-
模型所在层级
Properties:
Type Description string -
readonlytype
-
节点类型属性
Properties:
Name Type Description typefengmap.FMType 1024
-
visible
-
显示隐藏属性
-
readonlyx
-
中点X轴坐标
Properties:
Name Type Description 返回该层的中点X轴坐标number -
readonlyy
-
中点Y轴坐标
Properties:
Name Type Description 返回该层的中点Y轴坐标number
Methods
-
getBound(){Object}
-
获取模型边界
Returns:
Type Description Object 获取模型边界 minX: mbound.minX, maxX: mbound.maxX, minY: mbound.minY, maxY: mbound.maxY -
getData(){Object}
-
获取地板数据属性
Returns:
Name Type Description ObjectObject 地板的数据属性 Name Type Description typeIDstring 数据类型ID areanumber 面积 eidnumber 所在层级 boundobject 地板边界 coordinatesarray 地板的坐标数据 idint 数据ID