大约有 3,253 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
Laya_社区(2450) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(82) Laya_示例(52) Laya2.0_示例(18)
...旋转 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
...eft = new Laya.Vector3(0, 1, 0); floor.transform.rotate(_rotateLeft, true, false); 或者 floor.transform.rotate(_rotateLeft, false, false); 2018-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 赞同来...
来源: Laya_社区 发布时间: 20180822
...ent anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者...
来源: laya_api 发布时间: 20170929
... this.cacheAs = "none"; this.enableCanvasRender = false; this.userSetCache = "none"; this.cacheForFilters = false; this.staticCache = false; this.reCache = true; this.mask = null; ...
来源: Laya_社区 发布时间: 20210615
...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
...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
...ent anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者...
来源: laya_api 发布时间: 20170929
...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
...码: 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
...界 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