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

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

311. 使用3D精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 81%]

...旋转 this.rotate1.setValue(0, 60, 0); this.sprite3d.rotate(this.rotate1, false, false); //缩放 var scale = this.sprite3d.localScale; scale.setValue(0.1, 0.1, 0.1); this.sprite3d.localScale = scale; 三、子父级关系 Sprite3D继承自Node节点,是LayaAir3D中所有3D对象的父类。通...

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

312. Unity 3D 模型的中心点 [ 81%]

...eft = new Laya.Vector3(0, 1, 0); floor.transform.rotate(_rotateLeft, true, false); 或者 floor.transform.rotate(_rotateLeft, falsefalse); 2018-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复   赞同来...

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

313. laya.ui.ComboBox [ 81%]

...ent anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者...

来源: laya_api 发布时间: 20170929

314. _calculateCacheRect函数有bug [ 81%]

...     this.cacheAs = "none";             this.enableCanvasRender = false;             this.userSetCache = "none";             this.cacheForFilters = false;             this.staticCache = false;             this.reCache = true;             this.mask = null;     ...

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

315. laya.net.Loader [ 81%]

...g = null, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false, useWorkerLoader:Boolean = false):void 加载资源。加载错误会派发 Event.ERROR 事件,参数为错误信息。 Loader off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher ...

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

316. FlashDevelop开发环境配置(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 81%]

...t\vs\layaEditor\laya\libs\2.0.0beta1\as\layajs.exe;"$(ProjectPath)";iflash=false;quickcompile=true;out=bin/js/bundle.js;subpath= ``` layaAir **2.2开始的**版本可以参照下面的指令配置。 ```typescript SaveAllModified RunProcessCaptured|D:\layaide2.0\layaairide\resources\app\out\vs\layaE...

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

317. laya.ui.Button [ 81%]

...ent anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者...

来源: laya_api 发布时间: 20170929

318. 如何使用vscode编译laya项目 [ 81%]

...t2_cache", tsconfig:workSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}}, include:/.*.ts/, }),3、compile.js 完整代码如下 // v1.2.2 //获取Node插件和工作路径 [b]let ideMod...

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

319. Starling项目需要注意哪些问题? [ 81%]

...码: var map:BitmapData = new BitmapData(width * scale, height * scale, false); map.perlinNoise(20*scale, 20*scale, 3, 5, false, true); var texture:Texture = Texture.fromBitmapData(map, false, false, scale); 用到了BitmapData的perlinNoise接口,这个接口Laya暂不支持,我就就必须...

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

320. laya.physics.Physics [ 81%]

...界 options值参考如下: allowSleeping:true, gravity:10, customUpdate:false 自己控制物理更新时机,自己调用Physics.update Physics event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getBodyCount():int获得刚体总数量Physics  getContactCount():int...

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