大约有 264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0107 秒)
...添到显示列表。 } private function onSelect(index:int):void { trace("当前选择的表情页索引: index= ", index); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/tab.png"], laya.utils....
来源: Laya3.0_api 发布时间: 20231115
...点偏移,则显示筛选会不精确)。 Sprite page : int 列表的当前页码。 List parent : Node[override] Sprite pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY轴 轴心点...
来源: laya_api 发布时间: 20170929
...: boolean Inherited from Node.contains Defined in laya/display/Node.ts:536 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node 节点对象 。 Returns boolean 一个布尔值表示是否包含指定的 Node 节点对象 。 customRender customRender(context:...
来源: Laya3.0_api 发布时间: 20231102
...umChildren : int[read-only] 子对象数量。 Node page : int 列表的当前页码。 List parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY...
来源: Laya2.0_api 发布时间: 20190513
... Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:24 当前内存,以字节为单位。 Returns number Static gpuMemory get gpuMemory(): number Inherited from Resource.gpuMemory Defined in laya/resource/Resource.ts:31 当前显存,以字节为单位。 Returns number Method...
来源: Laya3.0_api 发布时间: 20231115
...atic now now(): number Defined in laya/utils/Browser.ts:380 获取浏览器当前时间戳,单位为毫秒。 Returns number Static removeElement removeElement(ele: any): void Defined in laya/utils/Browser.ts:373 移除指定的浏览器原生节点对象。 Parameters ele: any Returns void Global...
来源: Laya3.0_api 发布时间: 20231115
...er()。 Node clone():Node 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js...
来源: Laya2.0_api 发布时间: 20190513
...ring set sizeGrid(value: string): void Defined in laya/ui/ScrollBar.ts:386 当前实例的 Slider 实例的有效缩放网格数据。 数据格式:"上边距,右边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)",以逗号分隔。 例如:"4,4,4,4,1" R...
来源: Laya3.0_api 发布时间: 20231115
...据。 Stage对象和UI的View组件默认为true。 Sprite index : int当前播放索引。MovieClip interval : int = 30 播放间隔(单位:毫秒)。MovieClip loop : Boolean是否循环播放 MovieClip mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据...
来源: Laya2.0_api 发布时间: 20190513
...: boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node 节点对象 。 Returns boolean 一个布尔值表示是否包含指定的 Node 节点对象 。 customRender customRender(context:...
来源: Laya3.0_api 发布时间: 20231115