大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
... laya.webgl.WebGL; // import laya.webgl.WebGL; public class LayaDemo { private var socket:Socket; private var output:Byte; private var txt:Text; public function LayaDemo() ...
来源: Laya_社区 发布时间: 20170209
TS项目,,怎么获取完全限定类名,就像as的getQualifiedClassName TS项目,,怎么获取完全限定类名,就像as的getQualifiedClassName 2017-09-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20170922
layabox与java交互 // 程序入口 class GameMain{ constructor() { Laya.init(600,400); let hh = new Laya.Text(); hh.text = "laya安卓项目2"; hh.pos(Laya.stage.width / 2 , Laya.stage.height / 2); hh.fontSize = 20; hh.color = "red"; Laya.stage.addChild(hh); } } new GameMain(); var sData={type:"t...
来源: Laya_社区 发布时间: 20171129
类未找到方法 public class Welcome extends welcomeUI { public function Welcome() { requestData(); } private function requestData():void{ RequestConfig.instance.getRequestConfig(String(0), requestCallback); } private function requestCallback(success:Boolean):void { if(success) { loadingRes(); }...
来源: Laya_社区 发布时间: 20170118
...id="layaContainer"><canvas id="layaCanvas" width="1920" height="181" class="layaCanvas" style="position: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0); transform-origin: 0px 0px 0px; transform: matrix(1, 0, 0, 1, 0, 0); width: 100%; height: 100%; display: block;"></canvas>&l...
来源: Laya_社区 发布时间: 20180124
...交 3 个回复 Laya_Aaron 赞同来自: 叔年心~厌世 搜ui.js 里面class WXOpenDataViewer 有个 get height{} 改成 return super.height 2019-09-23 1 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 需要传个demo看一下,不然不好确认原因 2019-09-23 0 2 分享 ...
来源: Laya_社区 发布时间: 20190923
...时候就会直接触发? import WebGL = Laya.WebGL; // 程序入口 class GameMain { constructor() { Laya.init(0, 0, WebGL); // Laya.stage.scaleMode = 'full'; Laya.stage.screenMode = 'vertical'; Laya.stage.alignH = 'center'; Laya.stage.bgColor = '#ff00ff'; Laya.Stat.show(0, 0); Laya.stage.on(L...
来源: Laya_社区 发布时间: 20180525
API DocumentationAll Packages | All Classes | Index | Frames No Frames AutoBitmapProperties | Methods Packagelaya.uiClasspublic class AutoBitmapInheritanceAutoBitmap Graphics Object AutoBitmap 类是用于表示位图图像或绘制图形的显示对象。 封装了位置,宽高及九宫...
来源: laya_api 发布时间: 20170929
...a.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800); //显示一个图片 sp = Sprite.fromImage("res/bg.jpg"); Laya.stage.addChild(sp); //显示一...
来源: Laya2.0_文档 发布时间: 20210714
...a.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800); //显示一个图片 sp = Sprite.fromImage("res/bg.jpg"); Laya.stage.addChild(sp); //显示一...
来源: Laya2.0_文档 发布时间: 20200929