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

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

81. laya.d3.core.scene.Scene3D_API3.0 [ 64%]

...er scrollRect shadowMapFrequency skewX skewY skyRenderer stage staticCache texture timer transform url viewport visible width x y zOrder _updateMark Methods _initialize _processActive _setCullCamera addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer co...

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

82. laya.ui.List_API3.0 [ 64%]

...wRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(...

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

83. 回调函数... [ 63%]

...后的回调时间 关于shader中opengl函数问题 ios原生回调问题 Text类中竟然没有pos函数的api~ 网络send 不回调?什么情况? 引擎有没有管理或访问系统剪贴板的方法函数 http 请求 once 的 回调参数,如何传递和接收? MOUSE_OVER注册的响应...

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

84. laya.ui.Tree_API3.0 [ 63%]

...Parser实例domParser。 var xml:* = domParser.parseFromString(xmlString, "text/xml");//解析xml字符。 var tree:Tree = new Tree();//创建一个 Tree 类的实例对象 tree 。 tree.scrollBarSkin = "resource/ui/vscroll.png";//设置 tree 的皮肤。 tree.itemRender = Item;//设置 tree 的项...

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

85. Laya.SoundManager.playSound函数参数意义 [ 62%]

...录 发起人 15136070731 相关问题 关于shader中opengl函数问题 Text类中竟然没有pos函数的api~ 2.0 drawTexture color参数无效 怎样获取浏览器地址传过来的GET参数 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 执行回调...

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

86. 针对2.0.0 beta5 setLoadingPage 做增强 [ 61%]

...Page let loadPage = new LoadPage() loadPage.preload() this.getChildByName('text').on(Laya.Event.CLICK, this, function () { // 切换打开场景方式 查看效果不同 loadPage.openScene('page2.scene', this.getUserInfo, true, [1, 2, 3]) // loadPage.openScene2('page2.scene', this.getUserInfo, true,...

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

87. js进度,进度,js场景进度效果 [ 59%]

... function() { this.Progress.schedule.value = num; this.Progress.percentage.text = (num * 100).toFixed() + '%'; if (num >= 1) { this.run(); } }); }; p.run = function() { Laya.timer.once(300, this, function() {//给一个延迟 1000ms进度场景 alert('进度加载完毕'); this.Progress.visible =...

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

88. 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 [ 59%]

分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 因为要用到的贴图并不是固定的,所以有这样的需求,之前问过,不过暂时没有结果:https://ask.layabox.com/question/5622   看不太懂官方的源码,所以用...

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

89. 二进制图片(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 58%]

...new Laya.loader.getRes(url); var ape = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``` 第三种我们直接创建一个纹理来显示: ```javascript function completeHandler(data){ //加载完成返回的data是arraybuffer //......这里处理...

来源: Laya2.0_文档 发布时间: 20210715

90. Laya.Animator 动画 怎么移动到某一帧并停止到这一帧?相当于 gotoAndStop() 函数的效果 [ 57%]

...我想换成其他颜色,如何操作? Laya.timer.loop()如何停止 Text类中竟然没有pos函数的api~ [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型...

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