大约有 1,301 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(739) Laya2.0_文档(164) Laya3.0_api(108) Laya2.0_示例(81) Laya_示例(70) Laya2.0_api(58) laya_api(54) Laya3.0_文档(27)
...饥饿式更新啊 为什么官网例子里,UI组件的事件都用new Handler,而资源加载用Handler.create() 单个场景加载的时候,使用的Scene3D.load方法的第一个例子,地面部分是白色的 技术文档里面动画基础中的图集动画没有javascript版本的? ...
来源: Laya_社区 发布时间: 20181008
...lement.clientHeight * 2); Laya.loader.load('./card/atlas/card.atlas', Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 tl.loadAnimation("./card/card.ani"); //添加到舞台 Laya.stage.addChild(tl); //播放...
来源: Laya_社区 发布时间: 20180817
...位置 Geolocation.enableHighAccuracy = true; Geolocation.watchPosition(Handler.create(this, updatePosition), Handler.create(this, onError)); // 绑定convertToBaiduCoord作用域 __JS__("this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this)"); } ``` 由于本例不需要使...
来源: Laya2.0_文档 发布时间: 20210715
...细区别是什么? 斜角透视的感觉怎么弄出来呀?? Laya.Handler.create和new Laya.Handler有啥区别 HttpRequest感觉没有发成功 text组件在native2.0上运行会报错 问一下使用AnimationPlayer播放龙骨动画的时候,播放速率和播放时长区别 layabox2d例...
来源: Laya_社区 发布时间: 20170117
...后执行回调方法 this.roleAni.loadAtlas("res/atlas/role.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //添加到舞台 Laya.stage.addChild(this.roleAni); } } new AtlasAniDemo(); ``` 运行代码,如图5所示。动画已加载到舞台上,默认是未播放状...
来源: Laya2.0_文档 发布时间: 20210715
...,我用ts编写的相关内容,都要使用import和export吗? Laya.Handler.create和new Laya.Handler有啥区别 如何不用遮罩显示圆形微信头像,不用是因为遮罩在微信小游戏中失效 dispone和destory的区别 Dialog和View用destroy和Laya.stage.removeChild有什么...
来源: Laya_社区 发布时间: 20171101
...区别是什么? LayaAir 3D 有提供 3D 物理引擎功能吗? Laya.Handler.create和new Laya.Handler有啥区别 layabox打包app LayaAir怎么和FairyGUI整合 Dialog和View用destroy和Laya.stage.removeChild有什么区别? LayaAir Run 或者代码 显示的模型只有绿色 问题状态 ...
来源: Laya_社区 发布时间: 20180609
...ion;Laya.Tween.to(box.potOld,{ x:1 ,y:2 ,update:new Laya.Handler(box,function(){ this.transform.position = this.potOld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),ConstValue.animation...
来源: Laya_社区 发布时间: 20180112
...():void { Scene3D.load("res/threeDimen/scene/ParticleScene/Example_01.ls", Handler.create(this, function(scene:Scene3D):void { _scene = Laya.stage.addChildAt(scene, 0) as Scene3D; var camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 1, 0));...
来源: Laya2.0_文档 发布时间: 20210715
... laya.resource.HTMLCanvas; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Main { private var _tex:Texture; private var _htmlCanvas:HTMLCanvas; private var _colorSpr:Sprite; private var _colorTex:Texture; private var _initPixelCo...
来源: Laya_社区 发布时间: 20180302