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

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

1101. 微信小游戏加载外部json可以加载成功,但是加载外部图片就不行,没有任何反应 [ 62%]

...://xxdzz.shoujiyeyou.net/ ... ot%3B], Handler.create(this, this.onLoaded), null, "json");   Laya.loader.load(["https://xxdzz.shoujiyeyou.net/mmphp/19.png"], Handler.create(this, this.nlll), null, "image");   一样的代码,上面加载json就可以,下面加载image就不行。。。什么错...

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

1102. laya.ui.Clip_API3.0 [ 62%]

...1 创建一个新的 Clip 示例。 Parameters Default value url: string = null 资源类库名或者地址 Default value clipX: number = 1 x方向分割个数 Default value clipY: number = 1 y方向分割个数 Returns Clip Properties Optional _extra _extra: INodeExtra Inherited from Node._extra De...

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

1103. 材质-BlinnPhong-反射贴图 [ 62%]

..., 0, 0, -0.7071067); teapot2.meshFilter.sharedMesh.once(Laya.Event.LOADED, null, function (): void { var material: Laya.BlinnPhongMaterial = teapot2.meshRender.material as Laya.BlinnPhongMaterial; //反射贴图 material.reflectTexture = textureCube; }); Laya.timer.frameLoop(1, this, function (): vo...

来源: Laya_示例 发布时间: 20260303

1104. 粒子在webgl情况和canvas情况存在显著差异,请看图 [ 62%]

...ad("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { data = { "minStartColor": { "0": 1, "1": 0, "2": 0, "3": 1 }, "boxEmitterVelocity": { "0": 0, "1": 0, "2": 0 }, "minHorizontalStartRadian": 0, "positionVariance": ...

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

1105. Unity插件与LAYAAIR加载的天空盒子BUG与修改方法 [ 62%]

...,ltcWeight,1.0);             var processHandler=Handler.create(null,Laya3D._onProcessChange,[loader,ltcWeight,6 / 7],false);             Laya3D._innerFourthLevelLoaderManager.load(urls,Handler.create(null,Laya3D._onTextureCubeImagesLoaded,[loader,urls,processHandler]),process...

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

1106. 加载.lh文件 运行后黑屏 无法显示 [ 62%]

...te twoFirst:boolean; constructor(){         super(); this._scene = null;      this._text = null;         this._camera = null;         this.rotation = new Laya.Vector3(0, 0.01, 0);      this.lastPosition = new Laya.Vector2(0, 0);      this.distance = 0.0;      ...

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

1107. 微信小游戏IDE加载位图字体,提示错误 [ 62%]

....core.js,805行加上: __proto.parseFont=function(xml,texture){ if (xml==null || texture==null)return; this._texture=texture; var tX=0; var tScale=1; + if (typeof xml === "string") { + var parser = new DOMParser(); + xml = parser.parser.parserFromString(xml,'text/xml'); + } var tInfo=xml...

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

1108. 后处理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 62%]

...nsFlareData | LensFlareData | 镜头光晕数据(包含所有元素) | null | | bindLight | Light | 绑定的光源(必须设置) | null | | effectIntensity | number | 效果整体强度 | 1.0 | | effectScale | number | 效果整体缩放 | 1.0 | 首先是lensFlareData,我们可以使用...

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

1109. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 62%]

...te twoFirst:boolean; constructor(){         super(); this._scene = null;      this._text = null;         this._camera = null;         this.rotation = new Laya.Vector3(0, 0.01, 0);      this.lastPosition = new Laya.Vector2(0, 0);      this.distance = 0.0;      ...

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

1110. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 62%]

...em.ts:220 是否预热。暂不支持 randomSeed randomSeed: Uint32Array = null Inherited from ShurikenParticleSystem.randomSeed Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:308 随机种子,注:play()前设置有效。 randomizeRotationDirection randomizeRotationDirection: num...

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