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

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

171. laya.ui.Button [ 47%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties PropertyDefined By  measureHeight : Number[override] [read-only] 显示对象实际显示区域高度(以像素为单位)。 Button  measureWidth : Number[override] [r...

来源: laya_api 发布时间: 20170929

172. laya.ui.TextInput [ 46%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象实际显示区域高度...

来源: laya_api 发布时间: 20170929

173. laya.ui.List [ 46%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

174. laya.ui.List [ 46%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[read-only] 显示对象实际显示区域高度(以像素...

来源: laya_api 发布时间: 20170929

175. laya.display.Text_API3.0 [ 46%]

.../设置 text 文本边框颜色。 Laya.stage.addChild(text);//将 text 添加到显示列表。 } } } example Text_Example(); function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 onInit(); } fun...

来源: Laya3.0_api 发布时间: 20231115

176. laya.display.Sprite_API3.0 [ 45%]

...旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite宽高一般用于进行碰撞检...

来源: Laya3.0_api 发布时间: 20231115

177. laya.media.SoundNode [ 45%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpritePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  SoundNode()SoundNode addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int)...

来源: laya_api 发布时间: 20170422

178. laya.ui.FrameClip [ 44%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _isReverse : Boolean = false是否是逆序播放AnimationPlayerBasePublic Methods Hid...

来源: laya_api 发布时间: 20170422

179. 按钮组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...在层级窗口中右键进行创建,也可以从小部件窗口中拖拽添加。 (图1-1) 在这个过程不需要任何程序编码,完全可以交给美术或策划实现。从而减少了与程序员沟通成本,加快了游戏开发效率。 1.2 Button属性 Button组件特...

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

180. laya.ui.Button_API3.0 [ 44%]

...点击事件处理器。 Laya.stage.addChild(button);//将此 button 对象添加到显示列表。 } private function onClickButton(button:Button):void { trace("按钮button被点击了!"); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefe...

来源: Laya3.0_api 发布时间: 20231115