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

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

131. laya.utils.PerfHUD [ 75%]

...ds | Events Packagelaya.utilsClasspublic class PerfHUDInheritancePerfHUD Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-on...

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

132. laya.ui.ProgressBar [ 75%]

...ackagelaya.uiClasspublic class ProgressBarInheritanceProgressBar Component Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1...

来源: laya_api 发布时间: 20170929

133. laya.ui.ScaleBox [ 75%]

...ackagelaya.uiClasspublic class ScaleBoxInheritanceScaleBox Box UIComponent Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inher...

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

134. 计时器-延迟执行 [ 75%]

...n(Event.CLICK, this, this.onDecreaseAlpha2); } createButton(label) { const Sprite = Laya.Sprite; let w = 300, h = 60; let button = new Sprite(); Laya.stage.addChild(button); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.size(w, h); button.graphics.fillText(label, w / 2, 17, "20px simHei", ...

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

135. laya.html.dom.HTMLDivElement [ 75%]

...kagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标签,比如: span:行内...

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

136. 鼠标交互-Hold [ 75%]

...load(apePath, Handler.create(this, this.createApe)); } createApe() { const Sprite = Laya.Sprite, Event = Laya.Event; this.ape = new Sprite(); this.ape.loadImage(apePath); let texture = Laya.loader.getRes(apePath); this.ape.pivot(texture.width / 2, texture.height / 2); this.ape.pos(Laya.stage.width /...

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

137. laya.map.GridSprite [ 75%]

...cumentationAll Packages | All Classes | Index | Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properti...

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

138. 这种进度条怎么实现? [ 75%]

...18-08-17 0 0 分享 微博 QZONE 微信 Barry Allen 赞同来自:  import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() thi...

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

139. 加载TiledMap 不显示 [ 75%]

加载TiledMap 不显示 import Sprite = Laya.Sprite; import Stage = Laya.Stage; import MapLayer = Laya.MapLayer; import TiledMap = Laya.TiledMap; import Point = Laya.Point; import Rectangle = Laya.Rectangle; import Handler = Laya.Handler; import WebGL = Laya.WebGL;  export...

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

140. laya.ani.bone.Skeleton [ 75%]

... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...

来源: laya_api 发布时间: 20170929