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

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

3121. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 38%]

...ion clickHandler():void { var url:String = qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 qrcodeSp.loadImage(url,0,0,100,100); } } } ``` ​ 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台...

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

3122. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

... class MyItem extends Laya.GButton { //注意!在onConstruct里才可以获取子对象,建议在这里做初始化,不要在构造函数里做初始化 onConstruct() { //this.xx = this.getChild("xx"); //this.xx.on(Laya.Event.CLICK, this, this.onClick); } sayHello() { console.log("Hello from M...

来源: Laya3.0_文档 发布时间: 20251128

3123. laya.d3.core.render.BaseRender_API3.0 [ 38%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

3124. laya.effect.EffectBase_API3.0 [ 38%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/c...

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

3125. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...件会自动刷新,无需代码。例如: //下面是UI进程代码 //获取选中的节点 let node = Editor.scene.getSelection()[0]; //修改节点属性,场景里的对象会自动同步,无需手动 node.props.x = 100; //修改组件属性,场景里的对象会自动同步,无需手...

来源: Laya3.0_文档 发布时间: 20251010

3126. laya.effect.FadeOut_API3.0 [ 37%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

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

3127. laya.effect.FadeIn_API3.0 [ 37%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

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

3128. 为什么在Unity中很好的模型在导入到LayaAir中变成这样了? [ 37%]

...?~~~~~~~~~~~~~ unity中的模型导出后在laya中显示不正常 如何获取一个3D模型的长宽高? 如何导入3D模型,以及展示与编辑它 3d场景单材质单模型CurMem300多 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined ...

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

3129. laya.d3.core.MeshRenderer_API3.0 [ 37%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

3130. laya.physics.joint.GearJoint_API3.0 [ 37%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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