大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...话,还是用的本地加载mPlugin.game_plugin_set_option("localize", "true"); mPlugin.game_plugin_set_option("gameUrl", "http://stand.alone.version/ind ... 6quot;); 因为我觉得资源还是存在本地,只是位置变了,所以没有改成网络加载的方式 结果现在获取index.html...
来源: Laya_社区 发布时间: 20180327
...r3D Start { type:Shader3D name:slicePBR enableInstancing:true, supportReflectionProbe:true, uniformMap:{ u_AlphaTestValue: { type: Float, default: 0.5, range: [0.0, 1.0] }, u_TilingOffset: { type: Vector4, default: [1, 1, 0, 0] }, ...
来源: Laya_社区 发布时间: 20250428
... */ __proto.destroy=function(){ this._isDestroyed=true; var tTexture; var $each_tTexture; /*for each*/for($each_tTexture in this.subTextureDic){ tTexture=this.subTextureDic[$each_tTexture]; ...
来源: Laya_社区 发布时间: 20190704
... mPlugin.game_plugin_get_view(); this.setContentView(gameView); isLoad=true; 2017-09-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 目前LayaNative不支持3D项目的打包,...
来源: Laya_社区 发布时间: 20170906
...ector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); //加载精灵 var monkey = Laya.Loader.getRes("res/threeDimen/skinModel/...
来源: Laya2.0_文档 发布时间: 20210715
...动作 state1.clip = aniClip; //设置动作循环 state1.clip.islooping = true; //为动画组件添加一个动作状态 pangziAnimator.getControllerLayer(0).addState(state1); //播放动作 pangziAnimator.play("hello"); })); })); ``` (图6) ### 批量预加载资源 上面的例...
来源: Laya2.0_文档 发布时间: 20210715
... laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physics/...
来源: Laya3.0_api 发布时间: 20231115
...webGL Error: asBitmap no size! Mac Chrome 打开 Laya.Browser.onSafari 是 true? 问题状态 最新活动: 2017-07-10 10:37 浏览: 2043 关注: 3 人 cuixueying • 2017-07-10 10:40 那你就不会出现这个问题! hhwm15869035138 • 2017-07-10 10:42 Chrome error: Error: spawn D:\svn_workspac...
来源: Laya_社区 发布时间: 20170330
...,ignoreCache,thisLoader,errorCode,data){ (cache===void 0)&& (cache=true); (ignoreCache===void 0)&& (ignoreCache=false); (errorCode===void 0)&& (errorCode=0); if (!errorCode){ var tempData; if (type==/*laya.net.Loader.JSON*/"json" || type==/*laya.net.Loader.ATLAS*/"atlas"){ te...
来源: Laya_社区 发布时间: 20180704
...各项属性,例如: //将相机设为主相机 this.camera2D.isMain = true; //启用平滑位移 this.camera2D.positionSmooth = true; //设置平滑移动的速度 this.camera2D.positionSpeed = 2; } } 二、2D相机的属性 2.1 场景中可视化的相机 在2D相机被添加到场景后,我...
来源: Laya3.0_文档 发布时间: 20251010