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

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

101. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 54%]

...e(); Laya.stage.addChild(apesCtn); var _this = this; this.tl.on(this.Event.COMPLETE,this,function(){ _this.tl.stop(); }) console.log(this.tl) this.tl.interval = 1000 / 60; // this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; apesCtn.width = 3248; this.tl.pivot(-1624,-750); }, 2019-01...

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

102. laya.display.AnimationPlayerBase [ 53%]

...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(poin...

来源: laya_api 发布时间: 20170929

103. H5页面的骨骼动画不能显示完整,兼容性问题? [ 53%]

...ishIndex]; this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.mFactory.loadAni(aniPath); } // 动画解析完成,添加到舞台,并且开始swim parseComplete(): void { this.mArmature = this.mFactory.buildArmature(0); this.mArmature.x = 0; th...

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

104. laya.display.AnimationBase [ 53%]

...件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...

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

105. laya.display.Animation_API3.0 [ 50%]

... Returns Animation 返回动画本身。 loadImage loadImage(url: string, complete?: Handler): Sprite Inherited from Text.loadImage Defined in laya/display/Sprite.ts:1578 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一...

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

106. laya.d3.core.trail.TrailSprite3D [ 49%]

...定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(typ...

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

107. 安装layaair2-cmd一直失败 [ 49%]

...blem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-02-11T10_54_16_317Z-debug.l og     2020-02-11T10_54_16_317Z-debug.log   31916 info lifecycle jpeg-recomp...

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

108. laya.d3.terrain.TerrainChunk [ 48%]

...定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(typ...

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

109. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 48%]

...lic currentAction:string = "stand"; /*角色动画是否完成*/ public aniComplete:Boolean = true; /*角色移动速度*/ public speed:number = 0.04; /*3D摄像机*/ public camera:Laya.Camera; /*摇杆控制器*/ private rocker:RockerView; /*攻击按钮控制器*/ private attack:attackView; /*摇...

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

110. laya.d3.core.pixelLine.PixelLineSprite3D [ 47%]

...定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(typ...

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