大约有 1,800 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0179 秒)
Laya_社区(1135) Laya2.0_文档(198) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(31)
...Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); // 绑定convertToBaiduCoord作用域 this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this); } } 由于本例不需要使用LayaAir...
来源: Laya3.0_文档 发布时间: 20251010
...pp.ActivityThread$H.handleMessage(ActivityThread.java:2386) 19 android.os.Handler.dispatchMessage(Handler.java:107) 20 android.os.Looper.loop(Looper.java:213) 21 android.app.ActivityThread.main(ActivityThread.java:8178) 22 java.lang.reflect.Method.invoke(Native Method) 23 com.android.internal.o...
来源: Laya_社区 发布时间: 20200813
...码如下: ```java package { import laya.net.Loader; import laya.utils.Handler; import ui.EffectAnimationDemoUI; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //加载图集资源,加载成功后添加...
来源: Laya2.0_文档 发布时间: 20210715
... tiledMap.createMap("res/atlas/TiledMap/desert.json", viewRect, new Handler(this, completeHandler)); } /** * 地图加载完成的回调 */ function completeHandler() { //设置缩放中心为左上角 tiledMap.setView...
来源: Laya_社区 发布时间: 20180612
...open(url: string, closeOther: boolean = true, param: any = null, complete: Handler = null, progress: Handler = null): Promise<Scene> { Scene.showLoadingPage(); return Scene.load(url, Handler.create(null, this._onSceneLoaded, [closeOther, complete, param]), progress); } (图2-1) 例如创...
来源: Laya3.0_文档 发布时间: 20251010
... Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); //平面加载 let plane = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlan...
来源: Laya_社区 发布时间: 20201127
...下代码:** ```java package { import laya.ui.Button; import laya.utils.Handler; import laya.webgl.WebGL; public class ComponentDemo { //按钮资源路径 private var skin:String = "./res/img/btn_test.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL渲染模...
来源: Laya2.0_文档 发布时间: 20210715
...对,帮忙看下哪里要调整? 对象池对类怎么传参数 Laya.Handler.create 加载图片回调参数问题 子节点的 getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。参数是什么 http 请求 once 的 回调参数,如何传递和接收? IDE...
来源: Laya_社区 发布时间: 20200409
回调函数... constructor(){ Laya.loader.load(this.skins, Handler.create(this, this.onUIAssetsLoaded)); } aaa() { } function onUIAssetsLoaded( this.aaa();//为什么回调函数不能调用,undefined } 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20170626
... this._tMap.createMap("../bin/map/orthogonal-outside.json",viewRect,Laya.Handler.create(this,this.onComplete)); 附件 : --> 2020-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 157*****593 赞同来...
来源: Laya_社区 发布时间: 20200815