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

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

131. laya.ui.UIEvent [ 63%]

...ypress[static] 定义 keypress 事件对象的 type 属性值。Event KEY_UP : String = keyup[static] 定义 keyup 事件对象的 type 属性值。Event LABEL : String = label[static] 定义 label 事件对象的 type 属性值。Event LINK : String = link[static] 定义 link 事件对象的 typ...

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

132. 加载-销毁Texture使用的图片资源 [ 63%]

...60); Laya.stage.addChild(this.btn); //添加侦听 this.btn.on(Event.MOUSE_UP, this, this.onMouseUp); }; /** * 鼠标事件响应函数 * @param evt */ GameMain.prototype.onMouseUp = function (evt) { if (this.isDestroyed) { //通过设置 visible=true ,来触发渲染,然后引擎会自动恢复...

来源: Laya_示例 发布时间: 20250223

133. webGL模式下 graphic画线涂鸦,一直不停画会出现线条异常 [ 62%]

...ya.Event.MOUSE_MOVE, this, this.__mouseMove); this.bmp.on(Laya.Event.MOUSE_UP, this, this.__mouseUp); console.log(this.pos0.x); } __mouseMove(e:Event){ this.pos1.x=this.bmp.mouseX this.pos1.y=this.bmp.mouseY; if(Utils3D.getThis.getDistance(this.pos0,this.pos1)>10){ this.bmp.graphics.drawLine(this...

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

134. laya.ui.UIEvent [ 62%]

...ypress[static] 定义 keypress 事件对象的 type 属性值。Event KEY_UP : String = keyup[static] 定义 keyup 事件对象的 type 属性值。Event LABEL : String = label[static] 定义 label 事件对象的 type 属性值。Event LAYER_CHANGED : String = layerchanged[static] 定义 layerch...

来源: laya_api 发布时间: 20170929

135. CameraMoveScript.as在哪儿下载群里的有错 [ 62%]

...eScript() { } override public function _initialize(owner:Sprite3D):void { super._initialize(owner); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); Laya.stage.on(Event.MOUSE_OUT, this, mouseOut); var camera:BaseCamera = owner.scene.currentCamera; 没...

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

136. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

... public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目标的水平距离参数 public smooth: number = 2;//位置平滑移动插值参数值 public camDepthSmooth: number = 20 ...

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

137. 单选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...标签是否加粗,默认为false labelColors 鼠标在元素释放时(up)、鼠标移动到元素时(over),鼠标按下时(down)各个状态下的文本标签颜色 labelAlign 文本标签的水平对齐模式:left、center、right,默认为居左对齐 labelVAlign 文本标签...

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

138. laya.events.Keyboard [ 61%]

...] 与 Page Down 的键控代码值 (34) 关联的常数。Keyboard  PAGE_UP : int = 33[static] 与 Page Up 的键控代码值 (33) 关联的常数。Keyboard  PERIOD : int = 190[static] 与 .Keyboard  Q : int = 81[static] 与 Q 键的键控代码值 (81) 关联的常数。Keyboard  QUOTE : i...

来源: laya_api 发布时间: 20170929

139. laya.events.Keyboard [ 61%]

...] 与 Page Down 的键控代码值 (34) 关联的常数。Keyboard  PAGE_UP : int = 33[static] 与 Page Up 的键控代码值 (33) 关联的常数。Keyboard  PERIOD : int = 190[static] 与 .Keyboard  Q : int = 81[static] 与 Q 键的键控代码值 (81) 关联的常数。Keyboard  QUOTE : i...

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

140. startDrag方法鼠标事件 [ 60%]

...如果沿着边界或者手指超出边界的时候,就执行不到MOUSE_UP以及CLICK事件   附件 : --> 2018-01-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 有demo么~ 2018-01-31 0 ...

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