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

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

191. 编译时候报错 如下 怎么解决呢 [ 89%]

... 'particle'. libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'. Types of property 'create' are incompatible. Type '(w: number, h: number, surfaceFormat?: number, surfaceType?: number, depthStencilFormat?: ...

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

192. laya.d3.core.light.SpotLight [ 89%]

...的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D  lightType : int[override] [read-only] 获取聚光的类型。 SpotLight loaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node...

来源: laya_api 发布时间: 20170929

193. laya.d3.animation.AnimationTransform3D [ 89%]

...ray = null) 创建一个 Transform3D 实例。 AnimationTransform3D event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getWorldMatrix():Float32Array 获取世界矩阵。 AnimationTransform3D hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事...

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

194. laya.resource.VideoTexture_API3.0 [ 88%]

...troy Defined in laya/resource/VideoTexture.ts:111 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

195. laya.d3.component.animation.CameraAnimations [ 88%]

...ns() 创建一个新的 CameraAnimations 实例。 CameraAnimations event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

来源: laya_api 发布时间: 20170603

196. laya.d3.core.particleShuriKen.module.TextureSheetAnimation [ 88%]

...间帧率。TextureSheetAnimation  randomRow : Boolean是否随机行,type为1时有效。TextureSheetAnimation  rowIndex : int行索引,type为1时有效。TextureSheetAnimation  startFrame : StartFrame[read-only] 获取开始帧率。TextureSheetAnimation  tiles : Vector2纹理平铺。T...

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

197. version.json版本文件会加载缓存的,看了源码也没有忽略缓存 [ 88%]

....core.js   的版本控制源码  static enable(manifestFile, callback, type = 2) {             ResourceVersion.type = type;             ILaya.loader.load(manifestFile, Handler.create(null, ResourceVersion.onManifestLoaded, [callback]), null, Loader.JSON);         } load没有设...

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

198. 请问例子特效导出时报错? TypeLoadException: Could not load type 'MainModule'. [ 88%]

请问例子特效导出时报错? TypeLoadException: Could not load type 'MainModule'.  TypeLoadException: Could not load type 'MainModule'. LayaTools.DataManager.createFileLH2 (LayaTools.NodeLH nodeLH, .JSONObject subNode) LayaTools.DataManager.createFileLH2 (LayaTools.NodeLH nodeLH, .JSONObje...

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

199. 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) [ 88%]

...; //预加载loading条资源 var pro1:Object={url:"loads/progressBar.png",type:Loader.IMAGE}; var pro2:Object={url:"loads/progressBar$bar.png",type:Loader.IMAGE}; var proArr:Array=; proArr.push(pro1,pro2); Laya.loader.load(proArr,Handler.create(this,onProLoaded)); } private function onProLoaded():v...

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

200. laya.d3.component.animation.RigidAnimations [ 88%]

...ions() 创建一个新的 RigidAnimations 实例。 RigidAnimations event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

来源: laya_api 发布时间: 20170929