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

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

151. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 29%]

....com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上,可以用手机扫下,发现手机已经...

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

152. 计算着色器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 29%]

...一。 3.5 dispatch 执行 Compute Shader 的执行推荐通过 ComputeCommandBuffer 发起,先添加 dispatch 命令,再在合适时机统一执行。 dispatch 的参数表示 workgroup 数量,而不是线程总数,因此需要结合 local_size 计算实际并行规模。 4. 资源文件结...

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

153. 微信小游戏中不能加载proto文件 [ 28%]

... (function () { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; console.log("!____________________________________")  var ProtoBuf = Browser.window.protobuf;  // Laya.init(550, 400);  ProtoBuf.load("res/protobuf/Login.proto", onAssetsLoaded);  function onAssetsL...

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

154. laya.physics.RigidBody_API3.0 [ 27%]

...k类别,指定与其碰撞的类别值之和(值是所有category按位AND的值) label label: string = "RigidBody" Defined in laya/physics/RigidBody.ts:58 [只读]自定义标签 mask mask: number = -1 Defined in laya/physics/RigidBody.ts:56 [只读]指定冲突位掩码碰撞的类别,cate...

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

155. laya.physics.PhysicsDebugDraw [ 23%]

...是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Spri...

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

156. 安装layaair2-cmd一直失败 [ 22%]

... npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage  due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. C:\Users\Administrator\AppData\Roaming\npm\layaair2-cmd -> C:\Users\Administrator\AppData\R...

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

157. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 20%]

...yabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); function clickHandler(){ var url = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取...

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

158. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 19%]

...a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing and displaying logcat messages from a...

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

159. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 19%]

....com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); } private clickHandler():void{ var url:string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延...

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

160. 关于截屏的问题 [ 17%]

...ur_temperature:43 06-09 11:48:56.944 1040-1555/? D/ArpVerifier: performPollAndLog: 06-09 11:48:56.954 1654-1654/? D/StatusBar.MSimNetworkController: The latest refersh is 2013 ms ago! 06-09 11:48:56.954 1654-1654/? D/StatusBar.MSimNetworkController: refreshviews update icon subscription===0 mMSimPho...

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