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

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

4291. laya.d3.webxr.core.WebXRCamera_API3.0 [ 21%]

...d in laya/display/Node.ts:738 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:730 组件被启用后执行,比如节点被添加到...

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

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

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

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

4293. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 16%]

...然要跳 就得有交互了 所以我们需要添加点击事件 当点击舞台的时候 出发player.jump(); 同样还是在RunGame.js里面  (function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; RunGame.__super.call(this); this.init()...

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

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

...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

4295. laya.ui.WXOpenDataViewer_API3.0 [ 14%]

...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...

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

4296. laya.ui.ScaleBox_API3.0 [ 14%]

... 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

4297. laya.ui.Button_API3.0 [ 14%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值为3。此值决定皮肤资源...

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

4298. laya.ui.CheckBox_API3.0 [ 14%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Inherited from Button.stateNum Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值...

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

4299. laya.ui.Radio_API3.0 [ 14%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Inherited from Button.stateNum Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值...

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

4300. laya.ui.TextInput_API3.0 [ 14%]

... 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