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

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

251. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 44%]

... Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from PixelLineSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格模板。 Parameters url: string 模板地址。 complete: Handler 完成回掉。 Returns void Globals "laya/d3/core/Mesh...

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

252. laya.ui.MoreGame [ 44%]

...向中心线的距离(以像素为单位)。 View  clickCallBack : Handler图标点击回调MoreGame  closeCallBack : Handler关闭盒子回调MoreGame customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数...

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

253. laya.d3.core.light.SpotLight_API3.0 [ 44%]

... Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from RenderableSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格模板。 Parameters url: string 模板地址。 complete: Handler 完成回掉。 Returns void Globals "laya/d3/core/lig...

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

254. 图集制作与使用详解(JavaScript-IDE篇(JS)-使用IDE创作) [ 44%]

...atlas方式图集使用示例 Laya.loader.load("./res/test/c1.atlas", Laya.Handler.create(this, onLoaded)); ```   `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图集配置信息,在加载`.json`文...

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

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

...as方式图集使用示例 Laya.loader.load("./res/atlas/test.atlas", Laya.Handler.create(this, this.onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图集配置信息,在加载`.json`文件...

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

256. laya.ui.AsynDialog [ 43%]

...向中心线的距离(以像素为单位)。 Component closeEffect : Handler 关闭对话框效果,可以设置一个效果代替默认的关闭效果,如果不想有任何效果,可以赋值为null 全局默认关闭效果可以通过manager.closeEffect修改 Dialog closeHandler : Handl...

来源: laya_api 发布时间: 20170929

257. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...var sp=new Laya.Sprite(); sp.loadImage("res/apes/monkey2.png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res...

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

258. laya.resource.Texture2D_API3.0 [ 43%]

...lock=true的资源。 Returns void Static load load(url: string, complete: Handler): void Defined in laya/resource/Texture2D.ts:240 加载纹理 Parameters url: string 路径 complete: Handler 处理时间 Returns void Globals "laya/resource/Texture2D" Texture2D constructor _id destroyedImmediately ...

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

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

...//atlas方式图集使用示例 Laya.loader.load("./res/atlas/test.atlas", Handler.create(this, onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图集配置信息,在加载`.json`文件的...

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

260. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...x.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上,可以用手机扫下,发现手机已经...

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