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

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

71. 对象池3D问题 [ 79%]

...ne.lh", Laya.Handler.create(this, function(){     var layaMonkey =Laya.Sprite3D.load("fish/denglongyu/layaScene.lh"); scene.addChild(layaMonkey) layaMonkey.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); layaMonkey.transform.position = new Laya.Vector3(0, 0.5,0); // layaMonkey.transform...

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

72. laya.d3.core.light.DirectionLight [ 79%]

...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

73. laya.d3.core.light.SpotLight [ 79%]

...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

74. 关于3D的问题 [ 79%]

关于3D的问题   var player:Sprite3D = Sprite3D.load('res/d3/LayaScene_playerScene/playerScene.lh').getChildByName('Player' + playerI) as Sprite3D; scene3D.addChild(player);   之后player.destroy();这句之后再重新运行上面的代码,发现报错了player不能被添加到scene3D了...

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

75. 射线一直无法获取物体 [ 78%]

...法获取物体     添加物体:  var qb_pet = scene.addChild(Laya.Sprite3D.load("./test.lh"));     qb_pet.once(Laya.Event.HIERARCHY_LOADED, this, function(){         qb_pet.addComponent(Laya.SphereCollider);     });   设置射线:    Laya.timer.frameLoop(1, null, checkHit);   ...

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

76. laya.d3.core.glitter.Glitter [ 78%]

...elaya.d3.core.glitterClasspublic class GlitterInheritanceGlitter RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object Glitter 类用于创建闪光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自...

来源: laya_api 发布时间: 20170929

77. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 78%]

...毁释放内存 ###### *version :2.0.2beta Update:2019-5-8* ​ Scene3D、Sprite3D在调用 `destroy()` 之后,精灵所引用的材质,纹理,网格并不会跟随精灵的销毁而一起销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源...

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

78. laya.d3.core.light.LightSprite [ 78%]

...ckagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建灯光的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Propert...

来源: laya_api 发布时间: 20170929

79. unity光照贴图 [ 78%]

...选Scene var scene = Laya.stage.addChild(Laya.Scene.load("xxx")); 如果选Sprite3D var sprite3d = scene.addChild(Laya.Sprite3D.load("xxx")); 2017-05-16 0 0 分享 微博 QZONE 微信 wangweihui 赞同来自: 请问 我用unity导出到laya里之后 场景lightmap是乱的。这是什么原因呢 ...

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

80. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 78%]

...毁释放内存 ###### *version :2.0.2beta Update:2019-5-8* ​ Scene3D、Sprite3D在调用 `destroy()` 之后,精灵所引用的材质,纹理,网格并不会跟随精灵的销毁而一起销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源...

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