大约有 303 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
...nheritanceTab UIGroup Box Component Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改al...
来源: laya_api 发布时间: 20170929
...t; { let img = new Laya.Image(); img.texture = res; // img.skin = url; //ui组件直接设置skin也可以 img.pos(x, y); this.owner.addChild(img); }); } } 1.2 带类型的加载方式 有的时候,网络资源没有后缀名,又或者,图片xxx.png并非是当成Texture使用,需要被定...
来源: Laya3.0_文档 发布时间: 20251010
...,是将其挂载节点从场景中移除,这个挂载节点上的脚本组件并没有被移除,此时执行脚本的disable方法,脚本组件的挂载节点已经从场景中移除;而执行_activeScript方法时,是在页面类打开时候执行,此时执行脚本的awake与enable...
来源: Laya_社区 发布时间: 20211105
...点作为其子节点的鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 Sprite index : int 动画当前帧的索引。 AnimationBase interval : int 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animation...
来源: Laya2.0_api 发布时间: 20190513
...lag : int清楚标记。BaseCamera componentsCount : int[read-only] 获得组件的数量。 Sprite3D cullingMask : int 可视遮罩图层。 BaseCamera destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显...
来源: laya_api 发布时间: 20170929
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同...
来源: laya_api 发布时间: 20170929
... Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字...
来源: laya_api 发布时间: 20170929
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同...
来源: laya_api 发布时间: 20170929
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同...
来源: laya_api 发布时间: 20170929
...lag : int清楚标记。BaseCamera componentsCount : int[read-only] 获得组件的数量。 Sprite3D cullingMask : int 可视遮罩图层。 BaseCamera destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在...
来源: laya_api 发布时间: 20170929