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

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

161. laya.ui.Panel [ 74%]

...vents Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1...

来源: laya_api 发布时间: 20170929

162. 照相机-3D空间转2D空间 [ 74%]

..., onComplete)); function onComplete() { layaMonkey3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2D = Laya.stage.addChild(new Laya.Image("../../res/threeDimen/monkey.png")); Laya.timer.frameLoop(1, this, animate); } var _position = new L...

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

163. 小米手机三指点击后,后续获得的触摸点失效 [ 74%]

...问题 Dialog:屏蔽点击Dialog之外的区域关闭弹框 如何设置Sprite的宽高和点击区域? ui list 里面的元素不能点击两次 关于遍历产生的sprite的点击事件,急,大神帮看哈 求指点3d射线碰撞和UI点击穿透的问题 救命!canvas定位后 点击...

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

164. laya.ui.DialogManager [ 74%]

...nts Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通...

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

165. laya.ui.HSlider [ 74%]

...ckagelaya.uiClasspublic class HSliderInheritanceHSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向。滑块轨道从左向右扩展,而标签位于轨道...

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

166. 分享一个自己做的游戏公告功能,跑马灯效果 [ 74%]

...port Image = Laya.Image import HTMLDivElement = Laya.HTMLDivElement import Sprite = Laya.Sprite import Box = Laya.Box /** 公告栏 */ export default class Notice extends View { /** 滚动区域 */ hornBox: Box /** html对象 */ html: HTMLDivElement /** 滚动框的宽度 */ defaultX = 1110 /** 动...

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

167. laya.ui.ViewStack [ 74%]

...kagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefi...

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

168. laya.display.EffectAnimation [ 74%]

...ass EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动...

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

169. laya.ani.swf.MovieClip [ 74%]

...Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取...

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

170. 鼠标交互-双指缩放(多点触控) [ 74%]

...tat.show(); this.setup(); } setup() { const Event = Laya.Event; this.createSprite(); Laya.stage.on(Event.MOUSE_UP, this, this.onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, this.onMouseUp); } createSprite() { const Sprite = Laya.Sprite, Event = Laya.Event; let w = 300, h = 300; this.sp = new Sprit...

来源: Laya2.0_示例 发布时间: 20251130