Members
-
readonlyheight
-
模型高度
Properties:
Type Description number -
readonlylevel
-
模型所在层级
Properties:
Type Description string -
readonlytype
-
节点类型属性
Properties:
Name Type Description type
fengmap.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 Object
Object 地板的数据属性 Name Type Description typeID
string 数据类型ID area
number 面积 eid
number 所在层级 bound
object 地板边界 coordinates
array 地板的坐标数据 id
int 数据ID