大约有 564 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0075 秒)
Laya3.0_api(122) Laya_社区(111) Laya2.0_api(106) Laya2.0_文档(100) laya_api(93) Laya3.0_文档(29) Laya2.0_示例(3)
...ly exported Menu Globals "laya/d3/math/Rand" Rand Class Rand Rand 类用于通过32位无符号整型随机种子创建随机数。 Hierarchy Rand Index Constructors constructor Properties seeds Accessors seed Methods getFloat getSignedFloat getUint getByteFromInt getFloatFromInt Constructors constr...
来源: Laya3.0_api 发布时间: 20231115
...接播放音频文件。 或者,对于存在预加载需求的,可以通过缓存文件下载的方法downLoadFile,先将文件下载到本地缓存中,确认缓存中存在后,直接播放本地缓存中的音频文件,也可以达到预加载的效果。 如果我有一个需求是...
来源: Laya_社区 发布时间: 20180725
...uctParams:Array = null):Texture2D[static] Texture2D generateMipmap():void 通过基础数据生成mipMap。 BaseTexture getPixels():Uint8Array 返回图片像素。 Texture2D load(url:String, complete:Handler):void[static] 加载Texture2D。 Texture2D loadImageSource(source:*, premultiplyA...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...
来源: laya_api 发布时间: 20170929
...供一个可以运行的例子,我们看下什么问题,建议你可以通过断点单看堆栈信息,先自己定位下! 2017-03-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xuehaipiaoxiang 相关问题 骨骼动画播放...
来源: Laya_社区 发布时间: 20170321
...本方式,继承式页面类,可以直接使用页面定义的属性(通过IDE内var属性定义),比如this.tipLbll,this.scoreLbl,具有代码提示效果** * **建议:如果是页面级的逻辑,需要频繁访问页面内多个元素,使用runtime继承式写法,如果是独...
来源: Laya2.0_文档 发布时间: 20210714
...og=Dialog.manager.getChildAt(2) as Dialog;//获取manager下的子对象,通过zOrder改变其层级 dia.zOrder=2000; } 2017-06-06 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq502416708 相关问题 关于文本遮挡 [分享]Dialo...
来源: Laya_社区 发布时间: 20170606
...,但是模板动画依然存在缓存数据。 解决方案如下: 1、通过设置Loader.clearRes的第二个参数,强制销毁 譬如:Loader.clearRes("res/atlas/atlasLight.json",true); 2、销毁图集资源的同时清除模板名称的缓存数据 譬如: Loader.clearRes("res/at...
来源: Laya_社区 发布时间: 20161129
...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...
来源: laya_api 发布时间: 20170929
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...
来源: laya_api 发布时间: 20170422