大约有 168 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)
...更加方便,是推荐的图集加载方式。atlas方式加载图集的示例代码为: ```typescript //atlas方式图集使用示例 Laya.loader.load("./res/atlas/test.atlas", Laya.Handler.create(this, this.onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文...
来源: Laya2.0_文档 发布时间: 20210714
...=2.9.0beta&type=2D&category=UI&class=laya.ui.Clip) Clip 组件的资源示例:  (图1) 设置 clipX 属性的值为10后的显示效果:  (图2) 设置 index 属性的值为 1后的显示效果:  (图1)  (图2)  (图3)  (图4) VScrollBar 拖放到编辑器...
来源: Laya2.0_文档 发布时间: 20210715
...tegory=UI&class=laya.ui.HScrollBar)。 HScrollBar 组件的图像资源示例:  (图1)  (图2)  (图3)  (图4) HScrollBar 拖放到编辑器...
来源: Laya2.0_文档 发布时间: 20210714
...如果是代码引用资源,方法与web发布略有不同,加载代码示例如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } // 组件被激活后执行,此...
来源: Laya3.0_文档 发布时间: 20251010
...tegory=UI&class=laya.ui.HScrollBar)。 HScrollBar 组件的图像资源示例:  (图1)  (图2)  (图3)  (图4) HScrollBar 拖放到编辑器...
来源: Laya2.0_文档 发布时间: 20210714