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

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

31. laya.utils.Browser_API3.0 [ 80%]

...ber Defined in laya/utils/Browser.ts:69 真实平台类型,onMobile等是通过UserAgent判断,可能具有欺骗性 Static supportLocalStorage supportLocalStorage: boolean Defined in laya/utils/Browser.ts:77 表示是否支持LocalStorage Static supportWebAudio supportWebAudio: boolean Defined ...

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

32. 2.x引擎项目升级说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 80%]

...的输入处理系统的特性有: 3.1 2D和3D统一接口, 都可以通过事件监听方式和Laya.Script命名函数方式处理输入。例如: this.aNode.on(Laya.Event.CLICK, ()=> { console.log("clicked"); }); class MyScript extends Laya.Script { //脚本事件 onMouseClick(e:Event) { ...

来源: Laya3.0_文档 发布时间: 20251010

33. laya.d3.component.Animator [ 79%]

... 派发事件。 EventDispatcher  getClip(playName:String):AnimationClip 通过播放名字获取动画片段。 Animator  getClipCount():int 获取动画片段个数。 Animator hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。...

来源: laya_api 发布时间: 20170929

34. laya.d3.core.Sprite3D [ 79%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...

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

35. laya.display.Animation [ 79%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...

来源: laya_api 发布时间: 20170929

36. laya.display.Node [ 79%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node  setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node  timerLoop(delay:int, caller:*, method:Function, args:Array = nu...

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

37. laya.ui.FrameClip [ 79%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...

来源: laya_api 发布时间: 20170422

38. 组件装饰器说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 79%]

... 中的核心作用,就是帮助 IDE 识别开发者自定义的组件。通过装饰器标识,开发者可以将组件内部需要配置的数据,方便快捷地暴露到 IDE 的属性面板上。这样一来,开发者无需编写额外的配置代码,就能在可视化界面中直接调...

来源: Laya3.0_文档 发布时间: 20251010

39. laya.display.AnimationPlayerBase [ 78%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...

来源: laya_api 发布时间: 20170929

40. laya.d3.terrain.TerrainChunk [ 78%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...

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