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

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

941. laya.d3.webxr.core.WebXRCamera_API3.0 [ 60%]

...Children addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAn...

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

942. SCALE_FIXED_WIDTH适配屏幕的问题 [ 60%]

...机制、时间和其他一些Timer相关的问题 graphics alpha 问题 event自定义事件的问题 问题状态 最新活动: 2018-12-14 12:04 浏览: 1969 关注: 3 人 boobo • 2018-12-16 13:34 是h5,微信浏览器 boobo • 2018-12-12 12:37 没有用噢,主要是竖屏与横屏直接切...

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

943. 请问:Ts下如何实现打开照相机和系统图库的方法?IOS和Android [ 60%]

...         Laya.stage.addChild(button);         button.on(laya.events.Event.CLICK,this,function () {             let photo = laya.utils.Browser.getElementById("photo");            photo.click();         });     } } new GameMain(); 为什么 click事件没...

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

944. 使用webgl之后toDataUrl返回黑色的图像 [ 60%]

...,请参考以下代码 package { import laya.display.Sprite; import laya.events.Event; import laya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class LayaAirDemo { private var sp:Sprite ; public function LayaAirDemo() { //初始化引擎 Laya.init(Browser.width, Browser.h...

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

945. [LayaAir3]TextArea的问题 [ 60%]

...图集加载问题 关于适配采用showAll后留白部分的颜色问题 event自定义事件的问题 关于主程序过大的问题 问题状态 最新活动: 2025-10-10 17:39 浏览: 3571 关注: 3 人 layabox • 2025-10-10 17:40 不用那么麻烦,取消输入框焦点即可。例如,this...

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

946. drawTexture 画出来的数据会有以前的数据 [ 60%]

... iconSpr.width = 1280; iconSpr.height = 640; iconSpr.addChild(img); btn.on(Event.CLICK,this,runGame1); } private function runGame1():void { xNum = Math.random()*7 - 3; yNum = Math.random()*7 - 3; Laya.timer.loop(20,this,onRun); Laya.timer.frameLoop(10,this,refresh); } private function refresh():void...

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

947. 改变Laya.stage.scaleMode的问题 [ 59%]

... 我会使用下列方式监听视窗改变的事件。Laya.stage.on(Laya.Event.RESIZE,this,this.doResize.bind(this));  并且会在该事件(doResize)中改变 Laya.stage.scaleMode 的值。doResize () { Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; }    但是我发现在onResize事件里...

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

948. 在Form输入用户名密码的时候 tab切换焦点 没有类似as3中tabindex设置 [ 59%]

...可以捕获大部分按键 但tab键是无法捕获的! userName_txt.on(Event.KEY_PRESS,this,tabNext,[userName_txt]); private function tabNext(e:Event,target:Node):void {       if(e.keyCode == Keyboard.TAB)      {             //无法触发 焦点直接直接到浏览器外去了(浏...

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

949. laya.ui.Dialog_API3.0 [ 59%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex...

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

950. typescipt在一定范围内加载图片按照等比排列 [ 59%]

... / ratio;         }     }     reset();     img.on(Laya.Event.LOADED, this, () => {         reset();     }); } 2018-05-15 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 沉梦...

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