大约有 34 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0092 秒)
... x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加载并显示一个图片。 Graphics restore():RestoreCmd 返回之前保存过的路径状态和属性。 Graphics rotate(angle:Number, pivotX:Number = 0, pivotY:Number = 0):RotateCmd 旋转当...
来源: Laya2.0_api 发布时间: 20190513
...里的加载 Laya.loader.load("res/layabox.ktx", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); } else { //注意这里的加载 Laya.Texture2D.load("res/layabox.jpg", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = t...
来源: Laya2.0_文档 发布时间: 20210714
...示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Conne...
来源: Laya_社区 发布时间: 20171218
...=this; Laya.loader.create("res/3d/baseman01.lh", Laya.Handler.create(this, function(){ var scene3d=new Laya.Scene3D(); that.owner.addChild(scene); var model=Laya.loader.getRes(window.getPath("res/3d/baseman01.lh")); var player=model.clone(); scene3d.addChild(player); })); 然后用androi...
来源: Laya_社区 发布时间: 20190725