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

大约有 2,229 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0077 秒)

2151. LayaAirNative初始化的4个问题 [ 23%]

...allfile.txt为版本信息)   3.在native下,为了避免index.html中引用的js入口文件过大,我采取了分模块编译的方式,即是将引擎和1个入口类做出基础js,其他代码编译成模块js,这样会有两个问题,就是这个编译出来的js比较大,在执...

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

2152. laya.ani.GraphicsAni_API3.0 [ 22%]

...以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回收 Returns void clipRect clipRect(x: number, y: number, width: number, height: number): ClipRectCmd Inherited from Graphics.clipRect Defined in laya/display/Graphics.ts:304 设置剪裁区域,...

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

2153. 【简单跑酷--JS版】---Lv.3 添加地板 [ 22%]

...新增了两个模块 所以别忘记 上一节我们说到的 要在页面引用响应的JS哦   我们刷新页面看看 我们会看到地板从屏幕右边慢慢的跑出来了 ~~~ 既然是跑酷 一个地板肯定是不够的~~ 我们来增加多一点地板 首先我们想一下 如何增加...

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

2154. laya.display.Node_API3.0 [ 22%]

...。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Parameters Default value destr...

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

2155. laya.map.GridSprite_API3.0 [ 21%]

... 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为非空时此值才有效,staticCache...

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

2156. laya.ani.swf.MovieClip_API3.0 [ 21%]

... 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为非空时此值才有效,staticCache...

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

2157. laya.ui.AutoBitmap_API3.0 [ 21%]

...以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回收 Returns void clipRect clipRect(x: number, y: number, width: number, height: number): ClipRectCmd Inherited from Graphics.clipRect Defined in laya/display/Graphics.ts:304 设置剪裁区域,...

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

2158. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 21%]

...,开发者可结合代码的注释,理解每部分代码的用途: //引用各个模块 const style = require("./render/style.js"); const tplFn = require("./render/tplfn.js"); const Layout = require("./engine.js").default; //获取开放数据域画布 let sharedCanvas = wx.getSharedCanvas(); ...

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

2159. laya.particle.Particle2D [ 21%]

...以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 注意: 1.Spri...

来源: laya_api 发布时间: 20170929

2160. laya.particle.Particle2D [ 20%]

...以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite  tempCmd : *Particle2D ...

来源: Laya2.0_api 发布时间: 20190513