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

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

31. laya.ui.UIEvent [ 67%]

...ft 键是处于活动状态 (true) 还是非活动状态 (false)。 Event stageX : Number[read-only] 鼠标在 Stage 上的 X 轴坐标Event stageY : Number[read-only] 鼠标在 Stage 上的 Y 轴坐标Event target : Sprite 事件目标触发对象。Event touches : Array[read-only] 触摸点列...

来源: laya_api 发布时间: 20170929

32. laya.events.Event_API3.0 [ 67%]

...Accessors altKey charCode ctrlKey key keyCode keyLocation metaKey shiftKey stageX stageY touches Methods setTo stopPropagation isMouseEvent Constructors constructor new Event(): Event Defined in laya/events/Event.ts:195 Returns Event Properties button button: number = 0 Defined in laya/events/Event....

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

33. ts如何判断canvas是否失去焦点 [ 67%]

...微信小游戏里面如何知道用户是否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远是true 问题状态 最新活动: 2017-02-20 10:26 浏览: 1570 关注: 2 人

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

34. laya.ui.TextInput [ 66%]

...,设置为true后,会变灰并且禁用鼠标。Component displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以...

来源: laya_api 发布时间: 20170929

35. laya.display.Input [ 65%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以...

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

36. TextInput 在panle里滚动后输入位置错乱,求解 [ 65%]

...splay.Input;     import laya.display.Sprite;     import laya.display.Stage;     import laya.ui.Panel;     import laya.utils.Browser;     import laya.webgl.WebGL;          public class Yj_Customer     {         private var panel:Panel;                  public...

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

37. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 65%]

...init() { // 设置背景色为场景高度 this.box_color_bg.height = Laya.stage.height; } onEnable() { this.init(); // 判定是注册还是忘记密码 if (GameData.I.isReg) { this._regMode(); } else { this._forgetMode(); } // 添加取消事件 this.lb_cancel.on(Laya.Event.CLICK, this, () => {...

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

38. this.bitmap.activeResource is not a function [ 64%]

...//开放域 this._openZone = new Laya.Sprite(); } this._openZone.size(Laya.stage.width,Laya.stage.height); if(this._openZone.parent) return; console.log("打开开放域",Laya.Browser.onMiniGame) Laya.stage.addChild(this._openZone); this._openZone.x = vx; this._openZone.y = vy; if(Laya.Browser.onMin...

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

39. 舞台转换角度 [ 64%]

舞台转换角度 Laya.stage 如何 转换 角度 我想给 舞台转换180°,虽然我可以new Laya.Sprite() 转换这个sprite的角度,但是list之类的组件滑动 就会反向移动 2017-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

40. Cannot read property 'toDefault' of undefined报错是什么原因 [ 64%]

...r.call(state); //从屏幕空间生成射线 this.point.elements[0] = Laya.stage.mouseX; this.point.elements[1] = Laya.stage.mouseY; this.camera.viewportPointToRay(this.point, this.ray); //11111111111111就是下面这句报错 Laya.Physics.rayCast(this.ray, this._outHitInfo, Number.MAX_VALUE, 10); ...

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