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

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

2201. laya.spine.SpineTemplet_API3.0 [ 46%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/spine/SpineTemplet" SpineTemplet Class SpineTemplet Spine动画模板基类 Hierarchy Resource SpineTemplet Index Constructors constructor Prope...

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

2202. 编译太慢了,我想到一种优化编译时间的方式,请官方给出评价 [ 45%]

...我们的定义库里只需要添加这样一个类即可:class Laya { public static function init(width:Number, height:Number, ... plugins):* { return null } } 这有点类似使用laya 原生js开发中的.d.ts文件,只是我们应该让这个laya类定义库尽量的小,满足编译的要...

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

2203. 关于Laya.Quaternion.createFromAxisAngle旋转角度不正确的问题 [ 45%]

...     console.log(newdir2);     }     // 向量夹角     public Angle(ma, mb) {         var v1 = (ma.x * mb.x) + (ma.y * mb.y) + (ma.z * mb.z);         var ma_val = Math.sqrt(ma.x * ma.x + ma.y * ma.y + ma.z * ma.z);         var mb_val = Math.sqrt(mb.x * mb.x...

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

2204. 在加载3d人物的时候,Laya.timer.loop会卡顿,由于又需要每隔一段时间执行一个方法,暂时想到了用Laya.timer.loop,这个有什么好的解决方案替代吗? [ 45%]

...之前的延迟执行,默认为 true 。          */         public function frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void {             _create(true, true, delay, caller, method, args, coverBefore);         } 2018-04...

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

2205. 纹理集包含多个动作的时候按照技术文档写出来的不能正常播放呢? [ 45%]

...ZONE 微信 cuixueying 赞同来自: 1、你的动画资源没有预加载 public function Action() { init(); } private function init():void { Laya.loader.load("../res/zy/zy.json",Handler.create(this,onLoadedSource),null,Loader.ATLAS); } private function onLoadedSource():void { roleAni = new Animati...

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

2206. laya.d3.math.native.ConchVector4_API3.0 [ 45%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Native/ConchVector4" ConchVector4 Class ConchVector4 Vector4 类用于创建四维向量。 Hierarchy ConchVector4 Implements IClone Ind...

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

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

...截屏效果(截取到的是黑屏的,报错如图三),代码如下: public drawScreenshot(): void { if (!this.tempTexture2D) { this.tempTexture2D = new Laya.Texture2D(1280,720); } if (!this.tempTexture) { this.tempTexture = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this,...

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

2208. laya.components.Script_API3.0 [ 45%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/Script" Script Class Script Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 Hierarchy Component Scrip...

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

2209. 版本管理 后缀可以自定吗? [ 45%]

... * @param originURL 源路径。 * @return 格式化后的新路径。 */ public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return...

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

2210. laya.d3.math.Quaternion_API3.0 [ 45%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors...

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