大约有 5,555 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0064 秒)
Laya_社区(3762) Laya3.0_api(796) Laya2.0_api(368) laya_api(298) Laya2.0_文档(234) Laya3.0_文档(92) Laya2.0_示例(3) Laya_示例(2)
...处于按下状态”? 请问在layaIDE里,怎么调用微信小程序API 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存...
来源: Laya_社区 发布时间: 20180925
...查看微信[官方文档](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
...究了后决定还是使用requestAnimationFrame,楼主可以搜索下该api。该方法是基于帧更新的,回调函数内会返回当前和上一次执行的时间戳,可以根据这个来自己判断更新 2017-04-01 1 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 好的,问题...
来源: Laya_社区 发布时间: 20170323
...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
...所有动画的性能消耗,需要开发者自行在脚本里调用重绘API。 示例代码如下:const { regClass } = Laya; interface AnimatorPlayScriptInfo { animator: Laya.Animator2D; layerindex: number; playState: Laya.AnimatorState2D; } /** * 继承自AnimatorStateScript(动画状态脚本...
来源: Laya_社区 发布时间: 20251010
...效果如动图1所示。ViewStack组件的详细用法请查看ViewStack API。 (动图1) 1. 创建ViewStack 1.1 准备美术资源 准备好页面背景图以及需要切换的页面美术资源,如图1-1所示,放到LayaAir IDE的项目目录中。 (图1-1) 图中资源来自“2D入...
来源: Laya3.0_文档 发布时间: 20251010
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
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
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
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