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

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

451. Laya.Tween.to 有没有监听值的变化的方法? [ 51%]

...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? TextInput重写onFocus和onBlur事件监听不到 LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, FD 宏编译时 出现 试图访问该方法时失败 ...

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

452. 自定义渲染后,customRender里设置uniform值在ui节点下不生效 [ 51%]

...1 0 0 分享 微博 QZONE 微信 chasel 赞同来自: 有没有接口是:获取旧的shader program, 设置新的program,   更新uniform值后,  再设置成旧的shader program?? 2018-11-21 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 感谢对laya的支持与信任,您...

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

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

...s.maxRight = 0; //如果不开启autoSize 父容器的宽度和高度无法获取 this.autoSize = true; //初始化的时候将坐标放到屏幕右边 this.x = Config.GameWidth; //y坐标取一个随机值 为什么是32 因为我们的整个素材是 32 * 20 拼起来的 this.y = 32 * 6 + 32 * par...

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

454. 关于TS环境下的第三方库导入的疑问 [ 50%]

...应该放在哪里最合适 2.导入第三方JS模块后,想要在ide内获取到TS的提示,应该如何设置d.ts 2018-08-05 添加评论 已悬赏20元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 日新月异 赞同来自: Sol...

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

455. laya.effect.EffectBase_API3.0 [ 49%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/c...

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

456. laya.effect.FadeOut_API3.0 [ 49%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

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

457. laya.effect.FadeIn_API3.0 [ 49%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

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

458. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 47%]

...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...

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

459. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...

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

460. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 46%]

...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...

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