大约有 376 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0076 秒)
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...也可以通过代码来设置,上述示例演示了如何通过计时器获取每一秒更新clip.clipX切片,通过每秒更新数字实现计时器的功能,有兴趣的读者可以自己通过代码设置Clip,创建出符合自己项目中需要的Clip。 注:需要将图片资源的...
来源: Laya3.0_文档 发布时间: 20251010
...件会自动刷新,无需代码。例如: //下面是UI进程代码 //获取选中的节点 let node = Editor.scene.getSelection()[0]; //修改节点属性,场景里的对象会自动同步,无需手动 node.props.x = 100; //修改组件属性,场景里的对象会自动同步,无需手...
来源: Laya3.0_文档 发布时间: 20251010
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...etFileName getFileName(url: string): string Defined in laya/net/URL.ts:220 获取指定 URL 的文件名。 Parameters url: string 地址。 Returns string 返回文件名。 Static getPath getPath(url: string): string Defined in laya/net/URL.ts:210 获取指定 URL 的文件夹路径(不包括文...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage ...
来源: Laya2.0_api 发布时间: 20190513
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage ...
来源: Laya2.0_api 发布时间: 20190513
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513