大约有 1,654 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0235 秒)
Laya_社区(831) Laya3.0_api(384) Laya2.0_api(195) laya_api(183) Laya2.0_文档(39) Laya3.0_文档(18) Laya2.0_示例(2) Laya_示例(2)
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String ...
来源: Laya2.0_api 发布时间: 20190513
...exture compressUBO compressVector2 compressVector3 compressVector4 destroy getBool getBuffer getColor getInt getMatrix4x4 getNumber getShaderData getSourceIndex getTexture getUniformBuffer getValueData getVector getVector2 getVector3 hasDefine removeDefine reset setBool setBuffer setColor setInt set...
来源: Laya3.0_api 发布时间: 20231115
...件的使用 UI组件的创建有三种方式:分别是从小部件(Widgets)面板里拖拽UI组件使用、从层级管理(Hierarchy)面板的右键菜单里创建、通过组件资源命名规则为资源命名,然后拖拽资源使用,直接被IDE识别。 2.1 小部件面板中拖...
来源: Laya3.0_文档 发布时间: 20251010
...cache/ 04-11 11:17:09.456 8591-8591/? E/LayaGameEngine﹕ game_plugin_get_view 04-11 11:17:09.463 8591-8591/? I/LayaBox﹕ >>>> OnAppResume 04-11 11:17:09.463 8591-8591/? E/LayaBox﹕ >>>>>>>>>>>>>>>>>>>>>>&...
来源: Laya_社区 发布时间: 20170411
...Index:int):voidTemplet destroy():void[override] 释放纹理 Templet getAniNameByIndex(index:int):String 通过索引得动画名称 Templet getSkinIndexByName(skinName:String):int 通过皮肤名字得到皮肤索引 Templet getTexture(name:String):Texture 得到指定的纹理 Templet...
来源: Laya2.0_api 发布时间: 20190513
...载字体资源,加载完成后打开需要的场景,在场景中通过getRes方法来获得这个资源 设置启动脚本的位置为:项目设置-脚本编译-启动脚本 启动脚本代码: export async function main() { console.log("Hello LayaAir!"); Laya.loader.load("resou...
来源: Laya_社区 发布时间: 20250910
...cessors instance Methods event hasListener off offAll offAllCaller on once getTransformedAcceleration Constructors constructor new Accelerator(): Accelerator Defined in laya/device/motion/Accelerator.ts:44 Returns Accelerator Accessors Static instance get instance(): Accelerator Defined in laya/devi...
来源: Laya3.0_api 发布时间: 20231115
...Of(MiniAdpter.nativefiles[i]) != -1) return true; } return false; } static getFileInfo(fileUrl) { var fileNativePath = fileUrl; var fileObj = MiniFileMgr.fakeObj[fileNativePath]; if (fileObj == null) return null; else return fileObj; return null; } static read(filePath, encoding = "utf8", ...
来源: Laya_社区 发布时间: 20200103
...mber = 1 Defined in laya/utils/Timer.ts:18 时针缩放。 Accessors delta get delta(): number Defined in laya/utils/Timer.ts:46 两帧之间的时间间隔,单位毫秒。 Returns number Methods callLater callLater(caller: any, method: Function, args?: any[]): void Defined in laya/utils/Timer.ts:27...
来源: Laya3.0_api 发布时间: 20231115
...的 03-10 15:29:52.301 32529-32642/com.gamepark.casino I/LayaBox: xhr.GET url=http://stand.alone.version/index.html 03-10 15:29:52.312 32529-32642/com.gamepark.casino I/LayaBox: found the file in the package:cache/stand.alone.version/ea224b42 03-10 15:29:52.316 32529-32642/com.gamepark.casino I...
来源: Laya_社区 发布时间: 20180310