大约有 1,162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(657) Laya_示例(157) Laya2.0_文档(129) Laya2.0_示例(116) Laya3.0_api(72) Laya3.0_文档(11) laya_api(11) Laya2.0_api(9)
... ```javascript var http = require("http"); var sever = http.createServer(function(req,res){ res.end("LayaSample.onComplete()"); }); sever.listen(9090) ``` ```javascript res.end("LayaSample.onComplete()"); ``` 这句话的意思是服务器回传给客户端LayaSample.onComplete()并且执行这个...
来源: Laya2.0_文档 发布时间: 20210715
...Touch(false); var ctx = document.createElement('canvas').getContext('2d'); function render(){ ctx.fillStyle='#99d9ea'; ctx.fillRect(0,0,window.innerWidth,window.innerHeight); window.requestAnimationFrame(render); } window.requestAnimationFrame(render); document.addEventListener('touchstart',()=>{...
来源: Laya_社区 发布时间: 20180525
...e3D.load("tlj/tlj.lh"); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { sprite.transform.position = new Laya.Vector3(0,0,-100); }); 在游戏中 调整模型的位置需要在场景加载完后进行操作! 2017-03-16 1 2 分享 微博 QZONE 微信 cuixueying 赞...
来源: Laya_社区 发布时间: 20170316
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited method Inherited accessor Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...Class with type parameter Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
.../check.png"; private var skin2:String ="res/component/check_2.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(1334,750, WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoad回调方法 Laya...
来源: Laya2.0_文档 发布时间: 20210714
...缩后,ui.min.js报错,Uncaught TypeError: this.preinitialize is not a function,官方一直没回复。 2017-08-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 daohu 相关问题 liblayaair.so 总是崩溃,有没有官方人...
来源: Laya_社区 发布时间: 20170607
... with type parameter Constructor Property Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...建出符合自己需要的文件夹。 **示例代码:** ```javascript (function() { var Box = Laya.Box; var Clip = Laya.Clip; var Label = Laya.Label; var Utils = Laya.Utils; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24"...
来源: Laya2.0_文档 发布时间: 20210715
... laya.display.Text; /** * ... * @author */ public class HelloWorld{ public function HelloWorld(){ //创建舞台 Laya.init(600, 300);//舞台默认背景色是黑色的 var txt:Text = new Text(); txt.text = "Hello, World!"; //设置文本颜色 txt.color = '#FF0000'; //设置文本字体大小,单...
来源: Laya_社区 发布时间: 20180914