iworld2d模块——空对象类,可以用作容器. More...
Public Member Functions | |
def | __init__ |
iworld2d模块——空对象类,可以用作容器.
使用容器的方法请参考 obj2d.attach_to_parent 和 detach_from_parent 接口.
def __init__ | ( | self, | |
layer_id = None , |
|||
ui_id = None |
|||
) |
初始化 参数: layer_id :int None代表用默认的层(中间层) ui_id :int canvas_ui的标识,默认为None,None表示不属于canvas_ui 注意: 空对象类的key_point属性无效,可以用pos代替