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

大约有 703 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)

371. 如何通过代码控制prefab上面的时间轴动画animation? [ 51%]

...s.ani_show.play(); if (callback) // 甚至可以加上回调 this.ani_show.once(Laya.Event.COMPLETE, this, ()=>{ callback.run(); }); } ... // 外部访问 ... let puzzleSoldier = soldier.getComponent(PuzzleSoldier) as PuzzleSoldier; puzzleSoldier.attack(); ... 2019-02-15 0 0 分享 微博 QZONE ...

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

372. layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 [ 51%]

...现原来图集的资源没有显示。 例如Scene.open("a"); Laya.timer.once(2000,function(){//2s后关闭场景 Scene.destroy("a"); Scene.gc(); Scene.open("a");//打开后,图集里的资源丢失,其他资源还在 }); 问题追踪: 我发现调用gc之后,位图资源回收掉了,但...

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

373. laya.display.Node [ 51%]

...某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node  frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node  getChildAt(index:int):Node 根据子节点...

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

374. laya.device.motion.Accelerator [ 51%]

...Frames No Frames AcceleratorProperties | Methods Packagelaya.device.motionClasspublic class AcceleratorInheritanceAccelerator EventDispatcher Object Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表...

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

375. untiy导出的粒子特效有播放完成的回掉吗? [ 51%]

... wjqs:Sprite3D = scene.addChild(Sprite3D.load("fff.lh")) as Sprite3D; wjqs.once(Event.HIERARCHY_LOADED, this, function():void { var aaa:ShurikenParticleSystem = wjqs.getChildAt(0).getChildAt(0).particleSystem; aaa.on(Event.COMPLETE, this, function() { trace("COMPLETE callback!!"); }); }); 2017-0...

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

376. laya.d3.animation.AnimationTransform3D [ 51%]

...No Frames AnimationTransform3DProperties | Methods Packagelaya.d3.animationClasspublic class AnimationTransform3DInheritanceAnimationTransform3D EventDispatcher Object AnimationTransform3D 类用于实现3D变换。 Public Properties PropertyDefined By  localRotation : QuaternionAnimationTransf...

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

377. laya.d3.core.material.ExtendTerrainMaterial_API3.0 [ 51%]

...ne hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setDefine setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex setShaderData setShaderDataByIndex setShade...

来源: Laya3.0_api 发布时间: 20231115

378. iOS环境浏览器使用mask黑屏 [ 51%]

...clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = this._sp; }) }之后编译项目 2. 使用iphone手机的safari扫码功能运行项目 3秒中之后必现黑屏 手机型号: iphone 6s 系统 13.1.3 使用qq浏览器扫码一...

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

379. laya.d3.component.animation.CameraAnimations [ 51%]

...AnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class CameraAnimationsInheritanceCameraAnimations KeyframeAnimations Component3D EventDispatcher Object CameraAnimations 类用于创建摄像机动画组件。 Public Properties Hide Inherited Public Properties...

来源: laya_api 发布时间: 20170603

380. laya.d3.component.animation.RigidAnimations [ 51%]

...AnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class RigidAnimationsInheritanceRigidAnimations KeyframeAnimations Component3D EventDispatcher Object RigidAnimations 类用于创建变换动画组件。 Public Properties Hide Inherited Public Properties Show ...

来源: laya_api 发布时间: 20170929