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

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

521. laya.html.dom.HTMLDivElement_API3.0 [ 38%]

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

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

522. laya.ui.Tree_API3.0 [ 37%]

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

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

523. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 37%]

...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...

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

524. laya.html.dom.HTMLIframeElement_API3.0 [ 37%]

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

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

525. laya.d3.core.material.PBRMaterial_API3.0 [ 36%]

...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...

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

526. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 36%]

...带的碰撞信息b2Contact,开发者可以通过查询b2Contact对象来获取两个刚体碰撞有关的详细信息。但是通常用不上,other和self中已存在常规需要的信用,足够用了。(该参数只有2D物理有,3D物理只有other) */ onTriggerEnter(other: Laya.Physi...

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

527. laya.device.media.Video_API3.0 [ 36%]

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

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

528. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 34%]

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

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

529. 微信小游戏加载资源问题 [ 33%]

...URL(tempAtlasPngUrl), atlasJson); } } else { throw "传递的url没有获取到对应的图集数据信息,请确保图集已经过!"; } } } static postInfoToContext(url, atlaspngUrl, atlasJson) { var postData = { "frames": atlasJson.frames, "meta": atlasJson.meta }...

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

530. laya.ui.AutoBitmap_API3.0 [ 33%]

... Inherited from Graphics.getBounds Defined in laya/display/Graphics.ts:201 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Parameters Default value realSize: boolean = false (可选)使用图片的真实大小,默认为false Returns Rectangle 位...

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