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

大约有 1,686 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0065 秒)

181. 导入微信小游戏的时候 [ 86%]

导入微信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load ...

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

182. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 85%]

...nable: boolean; protected _enable: boolean; protected _owner: laya.d3.core.Sprite3D; /**是否已执行start函数。*/ started: boolean; /** * 获取唯一标识ID。 * @return 唯一标识ID。 */ id: number; /** * 获取所属Sprite3D节点。 * @return 所属Sprite3D节点。 */ owner: laya.d3.c...

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

183. TypeError: Cannot read property '_addRenderObject' of undefined [ 85%]

... Cannot read property '_addRenderObject' of undefined preload.js:55 at MeshSprite3D._onActive (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.d3.js:5617:17)   at MeshSprite3D._activeHierarchy (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:12325:18)   at Sprite3D._activeHierarchy (file:/...

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

184. 把摄像机添加到一个物体上,然后绕着这个物体旋转 [ 85%]

...好摄像机的默认位置角度使其朝向物体就行了 var map: Laya.Sprite3D = Laya.loader.getRes("cj/cj.lh"); this.scene.addChild(map); var cjd0: Laya.Sprite3D = new Laya.Sprite3D(); cjd0.addChild(this.camera); map.addChild(cjd0); cjd0.addComponent(CameraMoveScript); 可是,这样添加的...

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

185. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 85%]

...目标物体添加上描边 */     public AddCommandBuffet_Outline(sprite3D : Laya.Sprite3D): void{         if((sprite3D as Laya.MeshSprite3D) == null || !this.isUseOuline){            // console.log('spreite3D node meshSprite3D is null');           ...

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

186. 使用3D UI · LayaAir3.3 · 引擎文档 · LAYABOX [ 85%]

...E中使用 2.1 添加组件 在LayaAir-IDE的层级面板中,添加一个Sprite3D节点,如图2-1所示, (图2-1) 然后在节点的属性上增加一个3D UI组件,如动图2-2所示,在属性面板中,点击添加组件,选择渲染->3D UI组件。 (动图2-2) 2.2 属性...

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

187. HIERARCHY_LOADED函数不回调 [ 84%]

...不回调 this.sceneP = Laya.stage.addChild(Laya.Scene.load(name)) as Laya.Sprite3D; //this.sceneP.transform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3, 3); this.sceneP.trans...

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

188. 粒子特效,播放与克隆有bug [ 84%]

...隆有bug  2.1.0和2.1.1,Main Camera的clearFlag =3可以播放,但是Sprite3D克隆报错,.ls和.lh都会报错。 2.2以上的版本Main Camera的clearFlag =3无法播放,clearFlag =1或0,播放时有黑背景,克隆没有尝试。 附件 : --> LayaScene_zhadan.rar 2019-11-26 添加...

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

189. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 84%]

...ne3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { material.albedoTe...

来源: Laya2.0_文档 发布时间: 20210714

190. LayaAir1.7.19.1 Beta预加载资源出问题 [ 83%]

...quot;)的方式也加载过,没成功。 Laya_Aaron • 2018-07-26 11:19 sprite3d.load 188*****949 • 2018-07-26 11:23 create是有问题吗,改成sprite3d.load或者Scene.load的话,项目改动会比较大 188*****949 • 2018-07-26 11:26 再说sprite3d.load调用的不是create? Laya_Aar...

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