Egret Engine R - v6.0.0
    Preparing search index...

    Function superGetter

    • 获取父类的getter属性值。代替其他语言的写法,如 super.alpha;

      Parameters

      • currentClass: any

        当前 class 类名,非字符串

      • thisObj: any

        当前对象。永远都this

      • type: string

        需要调用的getter属性名称

      Returns any

      父类返回的值

      egret.superGetter(Sprite, this, "alpha");

      zh_CN