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

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

3921. layaBOX实时语音聊天与微信登陆接口分享 [ 45%]

... next) { var apiinfo = { appid: "123231", secret: "132321132" } var that = this; //获取TOEKN YIM.WXGetAccessToken(apiinfo, function (scope, data) { res.send(data); }); }); router.get('/code',function(req,res,next){ var appid = "123321" //获取CODE YIM.WXGetCode(appid,"http://app.aliiw.com/redirec...

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

3922. 多摄像机窗口的使用(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 45%]

...赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function () { //获取第一个摄影的视口 var viewport1 = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var viewport2 = camera2.nor...

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

3923. 动态图集 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...nd: true, // 自动扩展大纹理数量 checkDuplicate: true // 查重 }; this.dynamicAtlasManager = new DynamicAtlasManager(config, true); 2.2 添加纹理到图集 添加单个纹理对象 //接口 addTexture(texture: Texture, scale: number = 1.0, largeTextureIndex: number = -1): boolean 参数...

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

3924. [LayaAir3]spine 动画位置显示错误(git上8月22日版本, 3.3.0 版本正常) [ 45%]

...stRender mode - Current skin: default has 9 bones influencing each vertex. This exceeds the recommended limit of 4 bones per vertex. 二、位置问题。 3.3.1中是在IDE中作的处理(只支持拖spine资源到层级面板,直接用组件增加的不行)。3.3.2中改到引擎中处理了...

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

3925. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 45%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(n...

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

3926. putimagedata 不起作用 [ 45%]

...drawTexture Laya.loader.load("../../res/apes/monkey2.png", Handler.create(this, function() { var t = Laya.loader.getRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); data = Laya.Browser.context.getImageData(0, 0, ...

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

3927. QQ玩一玩 获取头像后的数据是 BK.Buffer,需要如何用laya的Image显示出来? [ 45%]

...fInfo.buffer, BuffInfo.width, BuffInfo.height, '' + openID, '.png');    this.imgHead.skin = '' + openID + '.png'; 2018-09-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 TsubasaYeung 相关问题 请问有没有方法能够获取“...

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

3928. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 45%]

...建项目时生成的内容不一致了 这是创建项目时的内容/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import GameUI from "./script/GameUI" import GameControl from "./script/GameControl" import Bullet from "./script/Bullet" import DropB...

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

3929. 多摄像机窗口的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 45%]

...赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第一个摄影的视口 var viewport1:Laya.Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var view...

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

3930. 使用UrlLoader加载图片,flash获取data为byteArray,翻译成h5后data为image? [ 45%]

...Loader; public function UrlImage() { super(); if(stage) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { urlLoader=new URLLoader(); urlLoader.dataFormat=URLLoaderDataFormat.BINARY; urlLoader.addEventListener(Event.COMPLETE,onImageLoa...

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