• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,011 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0106 秒)

911. 图集制作与使用详解(TypeScript-IDE篇(TS)-使用IDE创作) [ 40%]

...目录名/原小图资源名.png) img.skin = "test/c1.png"; //添加到舞台上显示 Laya.stage.addChild(img); ``` 代码运行效果如图9所示: ![图9](img/9.png) (图9) 如图9所示,我们成功的从图集中取出小图资源并应用到项目中,而代码中的`sink`值`test/c...

来源: Laya2.0_文档 发布时间: 20210714

912. 图集制作与使用详解(ActionScript-IDE篇(AS3)-使用IDE创作) [ 40%]

...目录名/原小图资源名.png) img.skin = "test/c1.png"; //添加到舞台上显示 Laya.stage.addChild(img); ``` 代码运行效果如图9所示: ![图9](img/9.png) (图9) 如图9所示,我们成功的从图集中取出小图资源并应用到项目中,而代码中的`sink`值`test/c...

来源: Laya2.0_文档 发布时间: 20210714

913. laya.display.FrameAnimation_API3.0 [ 40%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

来源: Laya3.0_api 发布时间: 20231115

914. laya.d3.core.SimpleSkinnedMeshRenderer_API3.0 [ 40%]

...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...

来源: Laya3.0_api 发布时间: 20231115

915. laya.ui.List_API3.0 [ 40%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage startIndex get startIndex(): number set startIndex(value: number): void Defined in laya/ui/List.ts:879 当前显示的单元格列表的开始索引。 Returns number Defined in laya/ui...

来源: Laya3.0_api 发布时间: 20231115

916. laya.display.Scene_API3.0 [ 39%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

来源: Laya3.0_api 发布时间: 20231115

917. 【简单跑酷--JS版】---Lv.6 终篇 [ 39%]

...Value 来让外部控制 能量条的 进度 我们把能量条都添加到舞台上面吧~~ 打开runGame.js(function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; this.flyEnergy = null; this.speedEnergy = null; RunGame.__super.call(this); ...

来源: Laya_社区 发布时间: 20160803

918. 统计信息 · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

... 本帧所有 3D 场景的提交渲染总耗时(ms)。它统计的是舞台渲染时对所有 Scene3D 的 renderSubmit() 调用耗时总和。 在项目中,这个指标最常用于回答两个问题: “卡顿是否主要来自 3D?”:把它与 T_AllRender2D、T_ScriptUpdateTime 对比...

来源: Laya3.0_文档 发布时间: 20260128

919. laya.d3.component.volume.volumetricgi.VolumetricGI_API3.0 [ 39%]

...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...

来源: Laya3.0_api 发布时间: 20231115

920. laya.ui.List [ 39%]

...间的间距(以像素为单位)。 List stage : Stage[read-only] 对舞台 stage 的引用。Sprite  startIndex : int 当前显示的单元格列表的开始索引。 List staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会...

来源: laya_api 发布时间: 20170929