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

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

2701. 3D物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

... 通过代码设置触发器的方式: /* ……省略若干代码 */ //获取物理刚体组件 this.rigidbody1 = this.cube1.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; this.rigidbody2 = this.cube2.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //设置rigidbody1为触发器,取消...

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

2702. laya.media.SoundNode_API3.0 [ 39%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

2703. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 39%]

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

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

2704. 向官方反映1.75引擎库后 事件执行 发生的bug [ 39%]

...擎1.75以后的laya.core.js库中,在2755行的执行事件处理中,获取到事件数组长度,之后执行相关逻辑,最后再把事件列表长度置0。这样出现的问题是,如果在执行事件中发生错误,下一帧的事件列表长度不为0,还是会进事件执行...

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

2705. laya.ani.swf.MovieClip_API3.0 [ 39%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 basePath basePath: string Defined in laya/ani/swf/MovieClip.ts:71 资源根目录。 hitTestPrior h...

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

2706. laya.ui.Tab_API3.0 [ 39%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

2707. laya.d3.core.MeshFilter_API3.0 [ 39%]

... 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

2708. 针对2.0.0 beta5 setLoadingPage 做增强 [ 39%]

...ge.openScene2('page2.scene', this.getUserInfo, true, [1, 2, 3]) }) } /** * 获取用户信息需要5s才能执行完 */ getUserInfo() { return new Promise((resolve, reject) => { // get Laya.timer.once(5000, null, function () { // cache user // 把user传个下个场景 let user = {name: 'ttaccp'}...

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

2709. laya.d3.component.LODGroup_API3.0 [ 39%]

... 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

2710. laya.display.AnimationBase_API3.0 [ 39%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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