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

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

181. 纹理资源 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...一份可访问的纹理数据,以便在运行时执行以下操作: 获取像素颜色值(如拾取、取样分析); 动态修改像素(如绘制笔刷、纹理混合)。 开启后,纹理的内存占用将约增加一倍,并降低加载性能。 建议仅在需要脚本动态读...

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

182. laya.display.Sprite_API3.0 [ 36%]

...节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请...

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

183. laya.ui.AdvImage_API3.0 [ 36%]

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

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

184. laya.media.SoundNode_API3.0 [ 35%]

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

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

185. laya.ui.DialogManager_API3.0 [ 35%]

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

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

186. 3D物理系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

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

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

187. laya.ui.ScrollBar_API3.0 [ 34%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Defined in laya/ui/ScrollBar.ts:64 底部移动限制...

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

188. laya.ui.UIComponent_API3.0 [ 33%]

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

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

189. laya.ui.ScaleBox_API3.0 [ 33%]

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

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

190. laya.ui.Box_API3.0 [ 33%]

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

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