大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1721) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...h getCurrentPosition watchPosition Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.ProgressBar }) public progressBar: Laya.ProgressBar; @property({ type: Laya.Text }) public loadText: Laya.Text; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 ...
来源: Laya3.0_文档 发布时间: 20251010
...ns void common common(owner: any, url: string, originalUrl: string, contentType: string, onProgress: (progress: number) => void, onComplete: (data: any, error?: string) => void): void Defined in laya/net/Downloader.ts:8 Parameters owner: any url: string originalUrl: string contentType: string ...
来源: Laya3.0_api 发布时间: 20231115
...method once clear recover run runWith setTo create Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
...neTo project set unprojectFromMat unprojectFromWVP Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...oolean = true 是否自动缓存没有动画的地块 TiledMap autoCacheType : String = normal 自动缓存类型,地图较大时建议使用normal TiledMap cacheAllAfterInit : Boolean = false 是否在加载完成之后cache所有大格子 TiledMap enableMergeLayer : Boolean = false 是否...
来源: laya_api 发布时间: 20170929
...oolean = true 是否自动缓存没有动画的地块 TiledMap autoCacheType : String = normal 自动缓存类型,地图较大时建议使用normal TiledMap cacheAllAfterInit : Boolean = false 是否在加载完成之后cache所有大格子 TiledMap enableMergeLayer : Boolean = false 是否...
来源: Laya2.0_api 发布时间: 20190513
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Filter&class=laya.filters.ColorFilter) 查看API说明。 ### 1.2 设置颜色滤镜 如果要给一个位图设置颜色滤镜,需要先设置一个颜色矩阵,然后用ColorFilter方法创建一个颜...
来源: Laya2.0_文档 发布时间: 20210714
...或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii"; } ``` 另外,从网络中动态加载读取,没有编...
来源: Laya2.0_文档 发布时间: 20210715
...ir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_CollisionEvent { constructor() { this.count = 7; this.bodys = []; this.touching = []; Laya.Config.isAntialias = true; Laya.Laya.init(12...
来源: Laya2.0_示例 发布时间: 20260106