大约有 102 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
...显示? 缓动Tween能用在3D物体或者特效上面吗? 如何设置Sprite的宽高和点击区域? 预设怎么在代码中使用 请问下loader如何强制加载一个文件,避免浏览器的缓存 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInLis...
来源: Laya_社区 发布时间: 20180921
...错误 TiledMap创建地图在LayaAir中显示不完全 请教下 如何把sprite的一部分区域保存成一个图片用来上传服务器 请教下,舞台设的宽度是800,600 为什么显示出来看着很小一团?什么办法都试过了~ 请教一下,页面元素在不同的设备上...
来源: Laya_社区 发布时间: 20160717
...ackagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box Component Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...
来源: laya_api 发布时间: 20170929
...kagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...
来源: Laya2.0_api 发布时间: 20190513
...ackagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...
来源: laya_api 发布时间: 20170929
...andler只会执行一次,之后点击不再触发 laya.3.0.9 为什么给Sprite容器添加点击事件没反应 使用getChildByName()无法得到子节点对象 VBOX HBOX 的文档太少了,都不知道这两个怎么用?到底和box有什么区别?不是普通的容器吗?增加了...
来源: Laya_社区 发布时间: 20240110
...kagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...
来源: Laya2.0_api 发布时间: 20190513
...容相关的链接 提交 2 个回复 佳佳 赞同来自: let parent:Laya.Sprite = child.parent;//父 let len = parent.numChildren; for(var i = 0; i < len; i++){ let value = parent.getChildAt(i); if(value != child) { //兄弟 } else{ //自己 } } 2018-09-01 0 1 分享 微博 QZONE 微信 谢春 ...
来源: Laya_社区 发布时间: 20180901
...export class TextInputControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextInput } ) public txtin: Laya.TextInput; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake():...
来源: Laya3.0_文档 发布时间: 20251010
...述 在新UI系统中,所有组件的基类是GWidget,它从引擎的Sprite类派生,因此Sprite具有的属性和方法都可以使用,也就是说,它具有普通2D节点的所有功能。 新UI系统内置的组件类型有以下这些,按功能分类: 图片显示:GImage、GLoad...
来源: Laya3.0_文档 发布时间: 20251010