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

大约有 1,604 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0084 秒)

1081. 关于3d和2d结合问题 [ 57%]

...g 赞同来自:  无论是2D场景还是3D场景,都是通过Laya.stage.addChild进行添加显示的,所以层级遮罩的思路是一样的,谁先添加,谁的层级就位于做底层,谁最后添加,谁的层级就位于最上层,如果开发者想要手动改变层级,可以通...

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

1082. laya.ui.OpenDataContextView_API3.0 [ 57%]

...hods _initialize _onActive _onInActive _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

1083. laya.ui.LayoutBox_API3.0 [ 57%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

1084. laya.ui.TipManager_API3.0 [ 57%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer closeAll contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fr...

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

1085. 在开启webgl模式下,每次运行texture类的getPixels方法内存都会增加 [ 57%]

...,绘制到画布 this.img.skin = this.Res //添加到舞台 Laya.stage.addChild(this.img); } private cacheCanvas: Laya.HTMLCanvas private cacheTexture: Laya.Texture init(){ let rect = this.img.getSelfBounds() this.img.pivot(Math.round(rect.width / 2), Math.round(rect.height / 2)) let bound = this....

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

1086. MultiLangText - 更简单的游戏多语言适配解决方案 [ 57%]

....color = "#ffffff"; multiLangText.multiLang("^BTN_SET", false); Laya.stage.addChild(multiLangText);   附件 : --> 2018-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 感谢分享~...

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

1087. 请问如何让textinput组件输入密码的时候显示*号? [ 57%]

...nput.type="password"; input.prompt='请输入...'; input.x=300; Laya.stage.addChild(input);目前textInput的密码符号是实心圆,无法输入*,这个也是属于浏览器的限制! 2017-04-24 2 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

1088. laya.ui.ViewStack_API3.0 [ 57%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addItem bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fre...

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

1089. laya.ui.Box [ 57%]

... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

来源: Laya2.0_api 发布时间: 20190513

1090. laya.particle.Particle2D [ 57%]

...ng:ParticleSetting) 创建一个新的 Particle2D 类实例。 Particle2D addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  advanceTime(passedTime:Number =...

来源: laya_api 发布时间: 20170929