大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
... 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
...赋值。 > 动态修改摄影机视口 ```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
...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
...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
...器。功能同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
...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
...fInfo.buffer, BuffInfo.width, BuffInfo.height, '' + openID, '.png'); this.imgHead.skin = '' + openID + '.png'; 2018-09-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 TsubasaYeung 相关问题 请问有没有方法能够获取“...
来源: Laya_社区 发布时间: 20180417
...建项目时生成的内容不一致了 这是创建项目时的内容/**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
...赋值。 > 动态修改摄影机视口 ```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
...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