大约有 565 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
Laya_社区(160) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya3.0_文档(23) Laya2.0_文档(22) Laya2.0_示例(3) Laya_示例(3)
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象...
来源: laya_api 发布时间: 20170929
... any, complete?: laya.utils.Handler, progress?: laya.utils.Handler, type?: string, priority?: number, cache?: boolean): LoaderManager; 是因为资源太少么。 2016-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20161010
...l cloneTo(destObject:*):void 克隆。 BaseMaterial onAsynLoaded(url:String, data:*, params:Array):void[override] private BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods MethodDefined By _addDisablePublicShaderDefine(value:int):voi...
来源: laya_api 发布时间: 20170929
...用法已经过时了?API中的说明如下。 public function load(url:String, type:String = null, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):void2、关于图片加载问题。 官方的飞机大战案例中,加载地图用的是bg.loadImage,而这边先预加载...
来源: Laya_社区 发布时间: 20160722
...oup="宽高及位置" /> <prop name="name" tips="组件名称" type="string" default="" group="常用" /> </Graphic> 组件配置里有个skinLabel resources\app\out\vs\layaEditor\renders\laya.editorUI.xml里面40行左右 。 2018-06-19 1 2 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180619
...回图集json信息(并创建图集内小图Texture)。 load(url:String, type:String = null, cache:Boolean = true):void 加载资源。 Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); 这里的load只有三个参数,而事实上用到4个,不...
来源: Laya_社区 发布时间: 20160712
... // 程序入口 class GameMain { private btn: Laya.Button; private skin: string = 'images/button.png'; constructor() { Laya.init(200, 300); Laya.loader.load(this.skin, Laya.Handler.create(this, () => { this.btn = this.createBtn(this.skin); this.btn.on(Laya.Event.CLICK, this, this.onClick); })); ...
来源: Laya_社区 发布时间: 20170511
...ath(scene:Scene):void { for (var i:int = 0; i < pointCount; i++) { var str:String = "path" + i; path.push((scene.getChildByName('Scenes').getChildByName('Area').getChildByName(str) as MeshSprite3D).transform.localPosition); } } } }
来源: Laya_示例 发布时间: 20260303
...LE_FIXED_WIDTH或SCALE_FIXED_HEIGHT*/ public static const SCALE_FIXED_AUTO:String = "fixedauto";
来源: Laya_社区 发布时间: 20170622
... bytes.uncompress(); var str:String = bytes.toString(); bytes.clear(); bytes = null; var data:Object = JSON.parse(str); 2017-09-08 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170908