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

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

1681. laya.effect.EffectBase_API3.0 [ 37%]

...or Defined in laya/components/Component.ts:44 创建一个新的 Component 实例。 Returns EffectBase Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Componen...

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

1682. laya.d3.core.scene.bvhscenerendermanager.BVHRenderBox_API3.0 [ 37%]

...Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:111 创建BVHSpaticalBox实例 Parameters bvhmanager: BVHSpatialManager config: BVHSpatialConfig Returns BVHRenderBox Accessors parent get parent(): BVHSpatialBox<IBoundsCell> set parent(value: BVHSpatialBox<IBoundsCell>): void Inherited...

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

1683. 分享个用美术资源做位图文本的方法。。。 [ 37%]

...ta = Laya.loader.getRes("res/playerKpiFont.png"); // 左中右创建的3个实例 var bp = new BPFont(jsonData,imageData,600,"left"); var bp1 = new BPFont(jsonData,imageData,600,"center"); var bp2 = new BPFont(jsonData,imageData,600,"right"); bp.padding = bp1.padding = bp2.padding = -7; Laya.stage.a...

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

1684. laya.d3.core.render.posteffect.BloomEffect_API3.0 [ 37%]

...laya/d3/core/render/PostEffect/BloomEffect.ts:366 创建一个 BloomEffect 实例。 Returns BloomEffect Accessors active get active(): boolean set active(value: boolean): void Inherited from PostProcessEffect.active Defined in laya/d3/core/render/PostProcessEffect.ts:35 是否开启 Returns boolean...

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

1685. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 37%]

...载3D资源完成回调*/ private on3DComplete():void{ //创建3D角色 //实例化角色 this.role = Laya.loader.getRes("res/LayaScene_girl/girl.lh"); this.scene.addChild(this.role); //角色位置 this.role.transform.position = new Laya.Vector3(0,1,2); } } new LayaAir3D();   但发布到微信工...

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

1686. 2D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...新对象的时候直接从对象池中取出使用。 优点是减少了实例化对象时的开销,且能让对象反复使用,减少了新内存分配与垃圾回收器运行的机会。 注意:对象移除时并不是立即从内存中抹去,只有认为内存不足时,才会使用垃...

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

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

...or Defined in laya/components/Component.ts:44 创建一个新的 Component 实例。 Returns FadeOut Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Component._...

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

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

...or Defined in laya/components/Component.ts:44 创建一个新的 Component 实例。 Returns FadeIn Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Component._s...

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

1689. 其他 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...PP的更新提示。 这些函数都属于conch.config类的函数,调用实例: if (window.conch) { window.conch.config.getRuntimeVersion(); } Tips 1、conch只能LayaNative环境下调用,在网页版本中是没有conch定义的,所以需要判断一下是否存在。 7. 屏蔽项目中...

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

1690. 网格像素线 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...动做好了 /** * 创建一个 <code>PixelLineSprite3D</code> 实例。 * @param maxCount 最大线段数量。 * @param name 名字。 */ constructor(maxCount: number = 2, name: string = null) { super(name); this._render = this.addComponent(PixelLineRenderer); this._geometryFilter = (t...

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