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

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

121. laya.ui.Panel [ 63%]

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

来源: laya_api 发布时间: 20170929

122. laya.ui.AsynDialog [ 63%]

... Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟...

来源: laya_api 发布时间: 20170929

123. laya.display.Sprite [ 63%]

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

来源: laya_api 发布时间: 20170929

124. laya.ui.Label [ 63%]

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

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

125. laya.ui.Dialog [ 63%]

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

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

126. laya.ui.TextInput_API3.0 [ 63%]

...置 textInput 的高度。 Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler.create(this, onL...

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

127. laya.ui.ComboBox [ 63%]

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

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

128. laya.ui.TextArea_API3.0 [ 63%]

.../设置 textArea 的高度。 Laya.stage.addChild(textArea);//将 textArea 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler....

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

129. 求问Texture和Texture2D的区别,和使用问题 [ 63%]

...显示Texture2D。这是设计上的bug吗?   附件 : --> 2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: texture是2d引擎里的纹理, texture2d 是3d引擎的纹理贴...

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

130. laya.ui.UIGroup [ 63%]

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

来源: laya_api 发布时间: 20170929