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

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

291. laya.ani.bone.Skeleton [ 59%]

...在此对象内。 Sprite  init(templet:Templet, aniMode:int = 0):void 初始化动画 Skeleton isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher  load(path:String, complete:Handler = null, aniMode:int = 0):void 通过加载直接创建动画 Ske...

来源: laya_api 发布时间: 20170929

292. laya.ani.bone.Skeleton [ 58%]

...在此对象内。 Sprite  init(templet:Templet, aniMode:int = 0):void 初始化动画 Skeleton isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher  load(path:String, complete:Handler = null, aniMode:int = 0):void 通过加载直接创建动画 Ske...

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

293. laya.ui.UIComponent [ 58%]

...d 创建并添加控件子节点。 UIComponent  initialize():void 控件初始化。 UIComponent  measureHeight():Number 显示对象的实际显示区域高度(以像素为单位)。 UIComponent  measureWidth():Number 显示对象的实际显示区域宽度(以像素为单位)。 UIC...

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

294. laya.ui.Component [ 57%]

...oid 创建并添加控件子节点。 Component  initialize():void 控件初始化。 Component  onCompResize():void 父容器的 Event.RESIZE 事件侦听处理函数。 Component  preinitialize():void 预初始化。 Component  resetLayoutX():void 重置对象的 X 轴(水平方向)布...

来源: laya_api 发布时间: 20170929

295. laya.display.Animation_API3.0 [ 57%]

... Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation....

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

296. 性能统计与优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...0); 即可调出性能统计面板。 示例Demo.ts编写代码如下: //初始化舞台 Laya.init(1136, 640); //调用性能统计面板方法,(0,0)为面板位置坐标 Laya.Stat.show(0,0); Tips:要注意大小写。 2、FPS相关的介绍 2.1 FPS概述 FPS是每秒传输帧数(Frames Per Seco...

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

297. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 57%]

...lay.Sprite); //定义RunGame的prototype var _proto = RunGame.prototype; //初始化 _proto.init = function(){ console.log('RunGame Init'); //背景 this.bg = new Background(); this.addChild(this.bg); //地板 this.mapFloor = new MapFloor(); this.addChild(this.mapFloor); //玩家 this.player = new P...

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

298. laya.ui.Tab [ 57%]

...):Boolean 检测某个点是否在此对象内。 Sprite initItems():void 初始化项对象们。 UIGroup isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, comp...

来源: laya_api 发布时间: 20170929

299. laya.ui.RadioGroup [ 56%]

...):Boolean 检测某个点是否在此对象内。 Sprite initItems():void 初始化项对象们。 UIGroup isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, comp...

来源: laya_api 发布时间: 20170929

300. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 56%]

...om "./ui/layaMaxUI"; class Main {     constructor(){         //初始化引擎         Laya3D.init(0, 0);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         this.upVector3 = new Laya.Vector...

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