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

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

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

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; //上次记录的两个触模点之间距离 var lastDistance = 0; var sp; (function() { // 不支持WebG...

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

152. 缓动-时间线 [ 74%]

...; Laya.stage.on(Event.KEY_DOWN, this, this.keyDown); } createApe() { const Sprite = Laya.Sprite; this.target = new Sprite(); Laya.stage.addChild(this.target); this.target.loadImage("res/apes/monkey2.png"); this.target.pivot(55, 72); this.target.pos(100,100); } createTimerLine() { const TimeLine = La...

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

153. laya.ui.AdvImage [ 74%]

...kagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : B...

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

154. 动画-新版骨骼动画 [ 74%]

...t.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/new/Plane.lh")); var zombie = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/new/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, func...

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

155. laya.map.MapLayer [ 74%]

...ds | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...

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

156. laya.ui.Slider [ 74%]

... Events Packagelaya.uiClasspublic class SliderInheritanceSlider Component Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值...

来源: laya_api 发布时间: 20170929

157. laya.display.FrameAnimation [ 74%]

...layClasspublic class FrameAnimationInheritanceFrameAnimation AnimationBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 节点关键帧动画播放类。解析播放IDE内制作的节点动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Pro...

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

158. laya.ui.VSlider [ 74%]

...ckagelaya.uiClasspublic class VSliderInheritanceVSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向。滑块轨道从下往上扩展,而标签位于轨道...

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

159. laya.ui.AsynDialog [ 74%]

...lasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestroy(如果销毁) onCreate在页面未创建时执行一次,再次打...

来源: laya_api 发布时间: 20170929

160. laya.ui.LayoutBox [ 74%]

...kagelaya.uiClasspublic class LayoutBoxInheritanceLayoutBox Box UIComponent Sprite Node EventDispatcher ObjectSubclasses HBox, VBox LayoutBox 是一个布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自...

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