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

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

211. 2.0下资源加载和销毁内存问题 [ 49%]

...TFF字体要怎么加载呢? LayaAir 库文件加载速度慢 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 分享:LayaAir下如何获取图集下的小图资源? 请问下loader如何强制加载一个文件,避免浏览器的缓存 Animation 的createFrames 使用已...

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

212. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.add...

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

213. Shader预编译解决方案 [ 49%]

...1:官方接口编译         private $compileShader(model: Laya.Sprite3D) {         if (model instanceof Laya.ShuriKenParticle3D) {             var shuriKenParticle3D: Laya.ShuriKenParticle3D = model as Laya.ShuriKenParticle3D;             var r...

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

214. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 48%]

...: 'init', openId: GlobalData.getInstance().openId }); this.rank = new Laya.Sprite(); this.box_rank.addChild(this.rank); Laya.Browser.window.sharedCanvas.width = this.box_rank.width; Laya.Browser.window.sharedCanvas.height = this.box_rank.height; //alwaysChange = true不好用了 手动刷新 Laya.ti...

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

215. image loadimage 加载网络图片BUG [ 48%]

...请求有Bug? ios14系统下 blendMode='lighter' 图片异常 matter中layasprite怎么改变图片大小? laya怎么跨域加载图片 unity到导出场景加载时抛异常,不知所措 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”...

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

216. 引擎 TiledMap 居然不支持图块翻转 [ 47%]

...    const TiledMapFlipConstHalf = TiledMapFlipConst / 2;     class GridSprite extends Laya.Sprite {         constructor() {             super(...arguments);             this.relativeX = 0;             this.relativeY = 0;             this.isAloneObject = false;     ...

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

217. laya.media.SoundNode [ 46%]

...| Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值...

来源: laya_api 发布时间: 20170422

218. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 46%]

...l/Effect_zhujue_attack.lh");             let tarItem = Laya.Sprite3D.instantiate(item);             this.scene.addChild(tarItem);             tarItem.transform.position = new Laya.Vector3(0, 0, 0);             item.destroy();          ...

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

219. laya.map.TileAniSprite [ 45%]

...entationAll Packages | All Classes | Index | Frames No Frames TileAniSpriteProperties | Methods | Events Packagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个...

来源: laya_api 发布时间: 20170929

220. laya.physics.PhysicsDebugDraw [ 45%]

...elaya.physicsClasspublic class PhysicsDebugDrawInheritancePhysicsDebugDraw Sprite Node EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By...

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