大约有 1,033 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0071 秒)
Laya_社区(947) Laya2.0_文档(47) Laya3.0_文档(14) Laya2.0_api(12) Laya2.0_示例(5) Laya_示例(5) laya_api(2) Laya3.0_api(1)
...索引,常用的渲染状态有Cull、Blend、BlendSrc、BlendDst、DepthTest、DepthWrite。 pipelineMode:是最近几个版本引进的一个属性,它指的是当前使用的渲染管线,类似Unity中的渲染路径概念,目前截至到LayaAir 2.7.0beta,Laya支持"Forward"和"Shadow...
来源: Laya2.0_文档 发布时间: 20210715
...ml> <html> <head> <meta charset="UTF-8"> <title>Test WebSocket</title> <script type="text/javascript"> //显示信息 var log = function(s) { if (document.readyState !== "complete") { log.buffer.push(s); } else { document.get...
来源: Laya_社区 发布时间: 20170724
...r : Laya.Animator; onStart() { this.label.on( Laya.Event.CLICK, this, this.test ); //获得状态机 this.animator = this.target.getComponent<Laya.Animator>(Laya.Animator); } //运行状态机的跑动画,可使用动作融合方式 test(e: Laya.Event) { //动画状态机,过渡融合到Ru...
来源: Laya3.0_文档 发布时间: 20230804
...is, onLoaded); } private function onLoaded():void { //实例UI界面 //var testView:TestView = new TestView(); //Laya.stage.addChild(testView); // //return; Laya.timer.once(3000, this, function():void{ var sprite:Sprite = new Sprite(); sprite.pos(0, 0); var texture:Texture = new Texture(Browser.wind...
来源: Laya_社区 发布时间: 20180525
...SHAKE,handshakebuffer); // this.socket.send('{"cmd":0,"data":{"user_name":"test0001","password":"abcd1234"}}@'); this.send(buffer); this.socket.output.writeArrayBuffer(buffer); this.socket.flush(); } private onClose(e:Laya.Event):void { console.error("[Pomelo] connect close:",e); this.emit(Pomelo.EV...
来源: Laya_社区 发布时间: 20180119
...绘制10000个文本(根据电脑性能而定,本例为10000): class Test { private text:Laya.Text; constructor() { Laya.init(550,400,Laya.WebGL); Laya.Stat.show(); var textBox=new Laya.Sprite(); for(var i=0;i<10000;i++) { this.text=new Laya.Text(); this.text.text=(Math.random()*100).toFixed(...
来源: Laya3.0_文档 发布时间: 20231008
... > node lib/install.js ‼ read ECONNRESET ‼ gifsicle pre-build test failed i compiling from source × Error: Command failed: C:\Windows\system32\cmd.exe /s /c "autoreconf -ivf" 'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���...
来源: Laya_社区 发布时间: 20200211
...指定粒子的颜色。 Texture:指定粒子使用的纹理贴图 Alpha Test Value:透明测试开启时,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 Opaque:默认设置,适用于没有透...
来源: Laya3.0_文档 发布时间: 20240117
...r.replace(/\u2006|\x27/g, ""); if (_inputTarget._restrictPattern.test(str)) { str = str.replace(_inputTarget._restrictPattern, ""); } } _inputTarget.text = str; _inputTarget.event(Laya.Event.INPUT); MiniInput.inputEnter(); _inputTarget.event("confirm"); }); MiniAdpter.w...
来源: Laya_社区 发布时间: 20200103
...egory.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. D/dalvikvm: Late-...
来源: Laya_社区 发布时间: 20171218