大约有 3,091 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
Laya_社区(2361) Laya2.0_文档(237) Laya_示例(147) Laya2.0_示例(117) Laya3.0_api(70) Laya2.0_api(64) laya_api(59) Laya3.0_文档(36)
.../1MiniGame/mini-game-client/minigame1/bin/libs/laya.core.js:6066:14) at Stage.__proto.render (file:///D:/1MiniGame/mini-game-client/minigame1/bin/libs/laya.core.js:21377:16) at Stage.__proto._loop (file:///D:/1MiniGame/mini-game-client/minigame1/bin/libs/laya.core.js:21330:8) at loop (file:...
来源: Laya_社区 发布时间: 20190114
...lean是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node enableDepthFog : BooleanBaseScene enableFog : Boolean 获取是否允许雾化。 BaseScene enableLight : Boolean = true 是否启用灯光。Bas...
来源: laya_api 发布时间: 20170422
...ullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filters fogColor fogDensity fogEnd fogMode fogRange fogStart globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea iblTex iblTexRGBD is3D lightmaps mask mouseEnabled mouse...
来源: Laya3.0_api 发布时间: 20231115
...包名与分包路径的字段 ```json { ... "subpackages": [ { "name": "stage1", "root": "stage1/" // 可以指定一个目录,目录根目录下的 game.js 会作为入口文件,目录下所有资源将会统一打包 }, { "name": "stage2", "root": "stage2.js" // 也可以指定一个 JS 文...
来源: Laya2.0_文档 发布时间: 20210715
...ructor() { //Laya.init(400, 640, Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" Laya.Stat.show() //资源路径 this.Res = "test.png"; this.img = new Laya.Image(); this.img.pos(200, 200) //获取图片资源,绘制到画布 this.img.skin = this.Res //添加到舞台 Laya.stage...
来源: Laya_社区 发布时间: 20171211
...资源不支持,转换H5的时候需要还原成原来的资源, ATF是Stage3D内置支持的纹理压缩格式,并非一个通用的纹理压缩格式,建议转换回png或jpg的纹理格式。 2.Embed资源不支持,需要使用AssetManager来管理资源,或者使用Loader, URLLoader等...
来源: Laya_社区 发布时间: 20151208
....app/Contents/Resources/app/out/vs/layaEditor/h5/laya.js:8965:16) at Stage.__proto.render (file:///Applications/LayaAirIDE.app/Contents/Resources/app/out/vs/layaEditor/h5/laya.js:59716:16) at Stage.__proto.render (file:///Applications/LayaAirIDE.app/Contents/Resources/app/out/vs/layaEdit...
来源: Laya_社区 发布时间: 20191113
...s); this.img = []; this.init(); } Class.prototype.init = function() { Laya.stage.addChild(this); this.bg(); Laya.timer.frameLoop(1, this, this.loop); }; Class.prototype.bg = function() { for (var i = 0; i < 2; i++) { this.img[i] = new Laya.Image('background.png'); this.addChild(this.img[i]); } th...
来源: Laya_社区 发布时间: 20170619
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scen...
来源: Laya3.0_api 发布时间: 20231102
...下:private function showFoods():void{ foodSprite = new Sprite(); Laya.stage.addChild(foodSprite); //初始化当前菜品下标 this.index = 0; //数据数组 foodArray = ; foodArray.push(new Food("菜品1", "1", 0)); foodArray.push(new Food("菜品2", "2", 1)); foodArray.push(new Food("菜品3",...
来源: Laya_社区 发布时间: 20180407