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

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

411. unity里导出的骨骼动画无法读取 [ 49%]

...          scene.addChild(role3D);              role3D.once(Event.HIERARCHY_LOADED, this, function():void{                 //获取Animator动画组件                 zombieAnimator = (role3D.getChildAt(0) as Sprite3D).getComponentByType(Animator)...

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

412. 使用 loader.create 预加载模型后。必须要在回调 Laya.Event.HIERARCHY_LOADED 中获取子元素吗?预加载是预加载的什么部分? [ 49%]

... Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 骨骼动画播放完后的回调时间 关...

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

413. 有些模型load之后,MeshSprite3D 的共享材质个数为0,无法对材质进行操作 [ 49%]

....load("../../res/models/cike.lh"); _scene3d.addChild(_disObj3d); _disObj3d.once(Event.HIERARCHY_LOADED, null, function(sender:Sprite3D):void {       var ms:MeshSprite3D = _disObj3d.getChildByName("mod_CiKeZhuangBei_Body_03") as MeshSprite3D;       if(ms)       {           trace("leng...

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

414. 多摄像机窗口的使用(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 49%]

...口重新赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function () { //获取第一个摄影的视口 var viewport1 = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var viewport2 = ca...

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

415. 多摄像机窗口的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 49%]

...口重新赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第一个摄影的视口 var viewport1:Laya.Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1;...

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

416. laya.d3.core.trail.TrailRenderer [ 48%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

来源: Laya2.0_api 发布时间: 20190513

417. laya.net.HttpRequest [ 48%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

来源: laya_api 发布时间: 20170929

418. 【官网代码】加载dom音频报错,怎么回事? [ 48%]

...analyser = audioContext.createAnalyser();analyser.fftSize = 256;Laya.stage.once(Event.CLICK,this,clickHandler); }private function clickHandler(e:Object):void{var http:HttpRequest = new HttpRequest();http.on(Event.COMPLETE,this,completeHandler);http.send("489.mp3","","get",Loader.BUFFER);}private fu...

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

419. 3D+2D场景截屏,在不同浏览器显示效果不一致 [ 48%]

...{ this.tempTexture = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser.document.getElementById("layaCanvas"); var spi = new Laya.Sprite(); var spi1 = new Laya.Sprite(); var spi2 = new Laya.Sprite(); this.tempTexture2D.loadImageSource(cans, true...

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

420. laya.d3.component.animation.KeyframeAnimations [ 48%]

...AnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class KeyframeAnimationsInheritanceKeyframeAnimations Component3D EventDispatcher ObjectSubclasses RigidAnimations, SkinAnimations KeyframeAnimation 类用于帧动画组件的父类。 Public Properties Hide In...

来源: laya_api 发布时间: 20170929