大约有 698 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0041 秒)
Laya_社区(286) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(8) Laya2.0_示例(4)
... scene.addChild(role3D); role3D.once(Event.HIERARCHY_LOADED, this, function():void{ //获取Animator动画组件 zombieAnimator = (role3D.getChildAt(0) as Sprite3D).getComponentByType(Animator)...
来源: Laya_社区 发布时间: 20180116
... Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 骨骼动画播放完后的回调时间 关...
来源: Laya_社区 发布时间: 20170821
....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
...口重新赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function () { //获取第一个摄影的视口 var viewport1 = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var viewport2 = ca...
来源: Laya2.0_文档 发布时间: 20210715
...口重新赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第一个摄影的视口 var viewport1:Laya.Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1;...
来源: Laya2.0_文档 发布时间: 20210715
...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...
来源: Laya2.0_api 发布时间: 20190513
...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...
来源: laya_api 发布时间: 20170929
...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
...{ 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
...AnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class KeyframeAnimationsInheritanceKeyframeAnimations Component3D EventDispatcher ObjectSubclasses RigidAnimations, SkinAnimations KeyframeAnimation 类用于帧动画组件的父类。 Public Properties Hide In...
来源: laya_api 发布时间: 20170929