• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0061 秒)

1191. laya.device.geolocation.Geolocation_API3.0 [ 63%]

...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

1192. 进度条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

...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

1193. laya.net.Downloader_API3.0 [ 63%]

...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

1194. laya.utils.Handler_API3.0 [ 63%]

...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

1195. laya.d3.math.Viewport_API3.0 [ 63%]

...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

1196. laya.map.TiledMap [ 63%]

...oolean = true 是否自动缓存没有动画的地块 TiledMap  autoCacheType : String = normal 自动缓存类型,地图较大时建议使用normal TiledMap  cacheAllAfterInit : Boolean = false 是否在加载完成之后cache所有大格子 TiledMap  enableMergeLayer : Boolean = false 是否...

来源: laya_api 发布时间: 20170929

1197. laya.map.TiledMap [ 63%]

...oolean = true 是否自动缓存没有动画的地块 TiledMap  autoCacheType : String = normal 自动缓存类型,地图较大时建议使用normal TiledMap  cacheAllAfterInit : Boolean = false 是否在加载完成之后cache所有大格子 TiledMap  enableMergeLayer : Boolean = false 是否...

来源: Laya2.0_api 发布时间: 20190513

1198. 设置滤镜(JavaScript-LayaAir基础篇(JS)-位图) [ 63%]

...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

1199. 微信小游戏常见问题汇总(10.25更新)(TypeScript-小游戏适配文档-微信小游戏) [ 63%]

...或拓展 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

1200. 2D物理-碰撞事件与传感器 [ 63%]

...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