• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 392 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0144 秒)

211. laya.ui.HBox_API3.0 [ 79%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

来源: Laya3.0_api 发布时间: 20231115

212. laya.ui.ProgressBar_API3.0 [ 79%]

...ressBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComple...

来源: Laya3.0_api 发布时间: 20231115

213. 分享:如何将舞台的背景颜色设置透明(WebGL和Canvas下) [ 79%]

...初始化引擎 Laya.init(800,600,WebGL); //设置背景颜色none Laya.stage.bgColor = "none";canvas下设置背景透明代码://初始化引擎 Laya.init(800,600); //设置背景颜色null Laya.stage.bgColor = null; 2017-04-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

来源: Laya_社区 发布时间: 20170414

214. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 79%]

... //初始化引擎         Laya3D.init(0, 0);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;                      //预加载所有资源         var resource = [{url: "Box/LayaScene_JJ...

来源: Laya_社区 发布时间: 20190605

215. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 79%]

...52, 480, Laya.WebGL); //FPS Laya.Stat.show(0,0); //设置适配模式 Laya.stage.scaleMode = "exactfit"; //设置剧中对齐 Laya.stage.alignH = "center"; //设置横屏 Laya.stage.screenMode = "horizontal";   打开浏览器(哦这里要说一下 因浏览器有本地加载文件策略 具...

来源: Laya_社区 发布时间: 20160722

216. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 79%]

...form.localRotation; } } /** * 监听鼠标事件 */ onAwake(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.camera = (<Laya.Camera>this.owner); } /** * 监听键盘事件 */ onUpdate(): void { var elapsedTime: n...

来源: Laya3.0_文档 发布时间: 20251010

217. laya.ui.WXOpenDataViewer_API3.0 [ 79%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

来源: Laya3.0_api 发布时间: 20231102

218. laya.ui.AdvImage_API3.0 [ 79%]

...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

219. laya.ui.Panel_API3.0 [ 79%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalScaleX globalScaleY graphics gray hScrollBar hScrollBarSkin height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivot...

来源: Laya3.0_api 发布时间: 20231115

220. laya.ui.Tab_API3.0 [ 79%]

...ion Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var tab:Tab = new Tab();/...

来源: Laya3.0_api 发布时间: 20231115