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

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

231. laya.ui.VBox_API3.0 [ 61%]

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

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

232. laya.ui.HBox_API3.0 [ 61%]

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

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

233. layaAir编辑动画怎么能像 Flash一样在时间轴上增减物品? [ 60%]

...p' FairyGUI是一款专业的 UI编辑器(千万别点) Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 骨骼动画播放完后的回调时间 一个时间轴动画里创建的多个动画,怎么分别调用?如图 发布到vivo平台后,龙骨动画...

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

234. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 59%]

...减少CPU使用量3.1 减少动态属性查找3.2 性能消耗的回收3.3 获取显示对象边界的做法3.4 根据活动状态改变帧频3.5 使用callLater3.6 图片/图集加载四、其它优化策略4.1 减少粒子的使用数量4.2 尽量减少旋转,缩放,alpha等属性的使用4.3 ...

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

235. laya.display.Input_API3.0 [ 59%]

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

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

236. laya.ui.Panel_API3.0 [ 58%]

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

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

237. laya.physics.joint.MouseJoint_API3.0 [ 55%]

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

238. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...点下是否存在某个名字的子节点,通常会调用如下方法来获取子节点 getChildByName("xxx") /** * 根据子节点的名字,获取子节点对象。 * @param name 子节点的名字。 * @return 节点对象。 */ getChildByName(name: string): Node { for (let child of this._chi...

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

239. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 55%]

...this.index].x; this._position.z = this.resPath[this.index++].y; //HeightMap获取高度数据 this._position.y = this.terrainSprite.getHeight(this._position.x, this._position.z); if (isNaN(this._position.y)) { this._position.y = this.moveSprite3D.transform.position.y; } this._tarPosition.x = this._p...

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

240. 3D材质编辑 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

...可以设置两个光滑度来源,分别从AlbedoTexture的alpha通道去获取、从MetallicGloassTexture的alpha通道去获取。实际上是将物体表面材质的光滑度映射到AlbedoTexture贴图的alpha通道、或者映射到MetallicGloass贴图的alpha通道上,这样可以根据物...

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