大约有 1,686 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1402) Laya3.0_api(93) Laya2.0_文档(63) Laya3.0_文档(40) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
导入微信小游戏的时候 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
...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
... 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
...好摄像机的默认位置角度使其朝向物体就行了 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
...目标物体添加上描边 */ public AddCommandBuffet_Outline(sprite3D : Laya.Sprite3D): void{ if((sprite3D as Laya.MeshSprite3D) == null || !this.isUseOuline){ // console.log('spreite3D node meshSprite3D is null'); ...
来源: Laya_社区 发布时间: 20210203
...E中使用 2.1 添加组件 在LayaAir-IDE的层级面板中,添加一个Sprite3D节点,如图2-1所示, (图2-1) 然后在节点的属性上增加一个3D UI组件,如动图2-2所示,在属性面板中,点击添加组件,选择渲染->3D UI组件。 (动图2-2) 2.2 属性...
来源: Laya3.0_文档 发布时间: 20250214
...不回调 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
...隆有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
...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
...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