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

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

1. 重复使用Laya.Sprite3D.load加载同一个lh类型的资源,发现第二次加载到的资源是无效的 [ 100%]

LayaAir引擎 重复使用Laya.Sprite3D.load加载同一个lh类型的资源,发现第二次加载到的资源是无效的 Laya.Sprite3D.load(path, Laya.Handler.create(this, this.loadCompleted));   public loadCompleted(sp:Laya.Sprite3D):void {     this._loaded = true;          ...

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

2. Resources already exist,is repeated loading 加载特效报重复加载 [ 87%]

...eValue:number = 0;              private layaMonkey_clone1:Laya.Sprite3D;     private layaMonkey_clone2:Laya.Sprite3D;     private layaMonkey_clone3:Laya.Sprite3D;      private clone1Transform:Laya.Transform3D;     private clone2Transform:Laya.Transform3D;     private...

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

3. .lh 文件不能在同一js文件内重复引用吗? [ 84%]

...出了一个lh文件,打算复用。            var shelf0 = Laya.Sprite3D.load("DoorShelf/shelf.lh");            this.scene.addChild(shelf0);            shelf0.transform.translate(new Laya.Vector3(-4,1.2,35));            var shelf3 = Laya.Sprite3D.load("DoorShe...

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

4. 粒子特效怎样重复使用? [ 81%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 缓动Tween能用在3D物体或者...

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

5. Laya.Animator重复播放某一个clip时有BUG [ 77%]

...复播放某一个clip时有BUG 步骤: 在camera或者camera父节点的sprite3D上新建一个animator, 读取一个clip, 播放这个clip之前,改变里面_node.keyFrames.frame.data的值,比如正改负,负改正之类, 播放这个clip 第一次播放不会有问题,第二次以后...

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

6. Laya.Sprite3D.load机制bug [ 76%]

Laya.Sprite3D.load机制bug 使用Laya.Sprite3D.load加载3d资源,如果第二次加载同一个资源(第一次加载的资源被系统回收),获取到的资源是被销毁状态! 重现几率为必现 Laya.Sprite3D.load(name, Laya.Handler.create(this, (data:Laya.Sprite3D)=>{ if(dat...

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

7. 判断场景里是否存在模型? [ 74%]

...模型? 3D场景里加载的LH模型会自动销毁吗? 我 用 Laya.Sprite3D.load(url+"/chaoshi/LayaScene_xue/xue.lh") 异步加载的模型,我向右 移动摄像机,场景里的sprite从来都不会变, 而且我的靠近屏幕左边的模型会自动消失不见。。 但是用 系统...

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

8. laya.d3.core.light.PointLight [ 73%]

...d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...

来源: laya_api 发布时间: 20170929

9. laya.d3.core.light.DirectionLight [ 73%]

...lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自...

来源: laya_api 发布时间: 20170929

10. laya.d3.core.light.SpotLight [ 72%]

...a.d3.core.lightClasspublic class SpotLightInheritanceSpotLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object SpotLight 类用于创建聚光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...

来源: laya_api 发布时间: 20170929