TileMap occluder manager. Manages and maintains occluders for the TileMap layer, providing unified interfaces for adding and removing occluders.
瓦片地图遮光器管理器。 负责管理和维护瓦片地图层的遮光器,提供统一的添加和移除接口。
The associated TileMap layer.
Create a TileMap occluder manager.
创建 TileMap 遮光器管理器。
Whether the occlusion function is enabled.
遮光功能是否启用。
Remove all occluders.
移除所有遮光器。
Update the Light2D manager instance.
更新 Light2D 管理器实例。
The occlusion polygon points.
The occlusion layer mask.
Returns the occluder instance.
Add an occluder.
添加一个遮光器。
Destroy all occluders.
清理所有遮光器。
Disable all occluders
禁用所有遮光器
Enable all occluders
激活所有遮光器
The occluder instance to remove.
Returns whether the removal was successful.
Remove the specified occluder.
移除指定的遮光器。
The new state to set.
Update the occlusion state.
更新遮光状态。
En
TileMap occluder manager. Manages and maintains occluders for the TileMap layer, providing unified interfaces for adding and removing occluders.
Zh
瓦片地图遮光器管理器。 负责管理和维护瓦片地图层的遮光器,提供统一的添加和移除接口。