大约有 787 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0059 秒)
Laya_社区(413) Laya_示例(77) Laya3.0_api(64) Laya2.0_示例(64) Laya2.0_api(58) laya_api(53) Laya2.0_文档(42) Laya3.0_文档(16)
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Button = Laya.Button; var Dialog = Laya.Dialog; var Image = Laya.Image; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var DIALOG_WIDTH = 220; var DIALOG_HEIGHT = 275; var CLOSE_BTN_WIDTH = 43; var ...
来源: Laya_示例 发布时间: 20241118
... //设置舞台缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; } else { Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; ...
来源: Laya_社区 发布时间: 20181213
...ontroller(){ super(); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Scene3D.load("res/model/LayaScene_Car/Conventional/car.ls", Handler.create(null, function(scene:...
来源: Laya_社区 发布时间: 20190328
...和 LOADED有什么区别?为什么对scene不起作用 var scene = Laya.stage.addChild(new Laya.Scene()); scene.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { console.log("scene HIERARCHY_LOADED"); }); scene.once(Laya.Event.LOADED, null, function (sprite) { console.log("scene LOADED"...
来源: Laya_社区 发布时间: 20170619
...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playing rotation scaleX scaleY scene scroll...
来源: Laya3.0_api 发布时间: 20231115
...Dialog { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.sc...
来源: Laya2.0_示例 发布时间: 20241118
... //设置舞台缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; } else { Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; ...
来源: Laya_社区 发布时间: 20181202
.../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
...UI_Tab { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.sc...
来源: Laya2.0_示例 发布时间: 20241118
...03 17:08 用了 137*****130 • 2018-08-03 17:12 Laya.init(640,1136); Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; // Laya.stage.bgColor = null; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Stat.show(); let canvas = Laya.Render.canvas; let co...
来源: Laya_社区 发布时间: 20180803