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

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

121. laya.ui.CheckBox [ 76%]

...ckagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button Component Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...

来源: laya_api 发布时间: 20170929

122. laya.ui.Image [ 76%]

...| Events Packagelaya.uiClasspublic class ImageInheritanceImage Component Sprite Node EventDispatcher Object Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支...

来源: laya_api 发布时间: 20170929

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

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var button1, button2; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWid...

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

124. laya.particle.Particle2D [ 75%]

...nts Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node...

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

125. laya.ui.Radio [ 75%]

...ts Packagelaya.uiClasspublic class RadioInheritanceRadio Button Component Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当...

来源: laya_api 发布时间: 20170929

126. 鼠标交互-双指旋转(多点触控) [ 75%]

...age.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { 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 = 200, h = 300; this.sp = new Sprit...

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

127. laya.display.AnimationPlayerBase [ 75%]

...displayClasspublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画播放基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可以继承此类,但不要直接实例化此类,因...

来源: laya_api 发布时间: 20170929

128. 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

129. 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

130. 1.7.11 Sprite.loadimage [ 75%]

LayaAir引擎 1.7.11 Sprite.loadimage 以下测试使用的是layaide 1.7.11 类库是也1.7.11  测试谷歌 浏览器版本 62.0.3202.94(正式版本) (64 位)  应该是目前最新的了 一 关于Sprite 的 width height 1. sp.loadImage('xxx.png',0,0,0,0,callback)调用方式 能否...

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