大约有 2 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0010 秒)
... makeRedApe() { const ColorFilter = Laya.ColorFilter; //由 20 个项目(排列成 4 x 5 矩阵)组成的数组,红色 let redMat = [ 1, 0, 0, 0, 0, // R 0, 0, 0, 0, 0, // G 0, 0, 0, 0, 0, // B 0, 0, 0, 1, 0 // A ]; //创建一个颜色滤镜对象,红色 let redFilter = new ColorFilter(redMat...
来源: Laya2.0_示例 发布时间: 20251130
....loadImage("res/apes/monkey" + i + ".png"); ape.pivot(55, 72); // 以圆周排列猩猩 ape.pos( Math.cos(radianUnit * i) * layoutRadius, Math.sin(radianUnit * i) * layoutRadius); this.apesCtn.addChild(ape); } this.apesCtn.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.timer.frameLoop(1, thi...
来源: Laya2.0_示例 发布时间: 20251130