大约有 200 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
...文本超出宽高后,未尾的几位字符会替换为省略号,表示当前文本还有未显示的内容 Returns string Inherited from Text.overflow Defined in laya/display/Text.ts:626 指定文本超出文本域后的行为 tips: 值为:可见visible、隐藏hidden、滚动:scroll、自动...
来源: Laya3.0_api 发布时间: 20231115
...文本超出宽高后,未尾的几位字符会替换为省略号,表示当前文本还有未显示的内容 Returns string Defined in laya/display/Text.ts:626 指定文本超出文本域后的行为 tips: 值为:可见visible、隐藏hidden、滚动:scroll、自动收缩shrink、显示省略号e...
来源: Laya3.0_api 发布时间: 20231115
... 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
...umChildren : int[read-only] 子对象数量。 Node page : int 列表的当前页码。 List parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY...
来源: Laya2.0_api 发布时间: 20190513
...xt(): string set text(value: string): void Defined in laya/ui/Label.ts:177 当前文本内容字符串。 see laya.display.Text.text Returns string Defined in laya/ui/Label.ts:181 当前文本内容字符串。 see laya.display.Text.text Parameters value: string Returns void textField get textField(...
来源: Laya3.0_api 发布时间: 20231115
... 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
...rollRect会保持0,0点位置不变。 Sprite selectedIndex : int 表示当前视图索引。 ViewStack selection : Node 获取或设置当前选择的项对象。 ViewStack setIndexHandler : Handler 索引设置处理器。 默认回调参数:index:int ViewStack skewX : Number水平倾...
来源: 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
...据。 Stage对象和UI的View组件默认为true。 Sprite index : int 当前帧索引。 Clip interval : int 表示动画播放间隔时间(以毫秒为单位)。 Clip isPlaying : Boolean 表示动画的当前播放状态。 如果动画正在播放中,则为true,否则为flash。 Cli...
来源: Laya2.0_api 发布时间: 20190513
...e等本地模块,可使用Laya引擎; 如果插件脚本错误使用了当前环境中不存在的特性,脚本可能无法运行。例如,在一个Laya自定义组件脚本里使用node的fs模块去访问文件系统,会导致脚本在预览或者最终发布时运行报错。 为了脚...
来源: Laya3.0_文档 发布时间: 20251010