Layer

LM. Layer

图层,从楼层对象中获取。LM.Floor

Members

visible :boolean

Description:
  • 可见性。

可见性。

Type:
  • boolean

Methods

getFeatures() → {array.<(LM.Ground|LM.Block)>}

Description:
  • 获取全部元素。

Returns:

图层数组。

Type
array.<(LM.Ground|LM.Block)>

setVisible(visible)

Description:
  • 设置可见性。

Parameters:
Name Type Description
visible boolean

true-显示 false-隐藏