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

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

4981. websocket,客户端与服务器不停地收发信息,请问:客户端接收到的数据缓存怎么清理? [ 46%]

...处于按下状态”? 请问在layaIDE里,怎么调用微信小程序API 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存...

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

4982. 微信小游戏开放域(ActionScript-小游戏适配文档-微信小游戏) [ 46%]

...查看微信[官方文档](https://developers.weixin.qq.com/minigame/dev/api/wx.onMessage.html)。 ```typescript //用于计数 var mark:int = 0; if(Browser.onMiniGame) Browser.window.wx.onMessage(function(data:*):void{//微信接受信息 if(data.url == "res/atlas/test.atlas" || data.url == "json/r...

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

4983. 重发问题: 点击页面会导致setTimeout setInterval 延迟执行 [ 46%]

...究了后决定还是使用requestAnimationFrame,楼主可以搜索下该api。该方法是基于帧更新的,回调函数内会返回当前和上一次执行的时间戳,可以根据这个来自己判断更新 2017-04-01 1 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 好的,问题...

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

4984. 打开新窗口被拦截,同样的方法用egret和其他h5工程都没有问题 [ 46%]

...1205 • 2018-03-21 14:29 只要在index页面写的没有问题,在laya api的代码不管怎么都跳转不了 kvs1205 • 2018-03-21 14:30 这个跟引擎版本有关系?还是laya所有版本都是这样的 kvs1205 • 2018-03-21 13:44 没有报跨域,都是被拦截的。无论是window.o...

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

4985. [LayaAir3]3.3.2与设置组件灰显相关的 Bug 和 Crash [ 46%]

...所有动画的性能消耗,需要开发者自行在脚本里调用重绘API。 示例代码如下:const { regClass } = Laya; interface AnimatorPlayScriptInfo { animator: Laya.Animator2D; layerindex: number; playState: Laya.AnimatorState2D; } /** * 继承自AnimatorStateScript(动画状态脚本...

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

4986. 导航容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...效果如动图1所示。ViewStack组件的详细用法请查看ViewStack API。 (动图1) 1. 创建ViewStack 1.1 准备美术资源 准备好页面背景图以及需要切换的页面美术资源,如图1-1所示,放到LayaAir IDE的项目目录中。 (图1-1) 图中资源来自“2D入...

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

4987. laya.d3.math.BoundFrustum [ 46%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundFrustumProperties | Methods Packagelaya.d3.mathClasspublic class BoundFrustumInheritanceBoundFrustum Object BoundFrustum 类用于创建锥截体。 Public Properties PropertyDefined By  bottom : Plane[read-only]...

来源: laya_api 发布时间: 20170929

4988. laya.d3.math.BoundFrustum [ 46%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundFrustumProperties | Methods Packagelaya.d3.mathClasspublic class BoundFrustumInheritanceBoundFrustum Object BoundFrustum 类用于创建锥截体。 Public Properties PropertyDefined By  bottom : Plane[read-only]...

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

4989. laya.events.EventDispatcher [ 46%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames EventDispatcherMethods Packagelaya.eventsClasspublic class EventDispatcherInheritanceEventDispatcher ObjectSubclasses Accelerator, AnimationPlayer, AnimationTransform3D, BaseRender, Component3D, GeometryFilter, Gyroscope,...

来源: laya_api 发布时间: 20170929

4990. laya.d3.core.Layer [ 46%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames LayerProperties | Methods | Constants Packagelaya.d3.coreClasspublic class LayerInheritanceLayer Object Layer 类用于实现遮罩层。 Public Properties PropertyDefined By  active : Boolean 取是否激活。 Laye...

来源: laya_api 发布时间: 20170929