大约有 256 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0150 秒)
...掉未加载的内容 LoaderManager clearRes(url:String, forceDispose:Boolean = false):void 清理指定资源地址缓存。 LoaderManager clearResByGroup(group:String):void 根据分组清理资源。 LoaderManager clearUnLoaded():void 清理当前未完成的加载,所有未加载的...
来源: laya_api 发布时间: 20170929
...Params:Array = null, propertyParams:Object = null, priority:int = 1, cache:Boolean = true):void 根据clas类型创建一个未初始化资源的对象,随后进行异步加载,资源加载完成后,初始化对象的资源,并通过此对象派发 Event.LOADED 事件,事件回调参数值...
来源: Laya2.0_api 发布时间: 20190513
...充数组,并返回数组副本。 UIUtils gray(traget:Sprite, isGray:Boolean = true):void[static] 给指定的目标显示对象添加或移除灰度滤镜。 UIUtils toColor(color:uint):String[static] 转换uint类型颜色值为字符型颜色值。 UIUtilsPublic Constants ConstantDefine...
来源: Laya2.0_api 发布时间: 20190513
...充数组,并返回数组副本。 UIUtils gray(traget:Sprite, isGray:Boolean = true):void[static] 给指定的目标显示对象添加或移除灰度滤镜。 UIUtils toColor(color:uint):String[static] 转换uint类型颜色值为字符型颜色值。 UIUtilsPublic Constants ConstantDefine...
来源: laya_api 发布时间: 20170929
...destroyUnusedResources load Constructors constructor new Mesh(isReadable?: boolean): Mesh Overrides Resource.__constructor Defined in laya/d3/resource/models/Mesh.ts:196 创建一个 Mesh 实例,禁止使用。 Parameters Default value isReadable: boolean = true 是否可读。 Returns Mesh Properti...
来源: Laya3.0_api 发布时间: 20231115
...uctParams?: any[] | null, propertyParams?: any, priority?: number, cache?: boolean): void Defined in laya/net/LoaderManager.ts:97 根据clas类型创建一个未初始化资源的对象,随后进行异步加载,资源加载完成后,初始化对象的资源,并通过此对象派发 Event.LOA...
来源: Laya3.0_api 发布时间: 20231102
...本类型 "string" 也可以用String来标记该类型 布尔值类型 "boolean" 也可以用Boolean来标记该类型 整数类型 "int" 等价于 { type: Number, fractionDigits: 0 } 正整数类型 "uint" 等价于 { type: Number, fractionDigits: 0 , min: 0 } 多行字符串文本类型 "text" ...
来源: Laya3.0_文档 发布时间: 20250103
... declaration [type: string]: TypeMapEntry Accessors loading get loading(): boolean Defined in laya/net/Loader.ts:193 是否有任何的加载任务在进行 Returns boolean Methods cacheRes cacheRes(url: string, data: any, type?: string): void Defined in laya/net/Loader.ts:738 Parameters url: string...
来源: Laya3.0_api 发布时间: 20231115
... Public Properties PropertyDefined By continuousCollisionDetection : Boolean 获取是否进行连续碰撞检测。 PhysicsSimulation disableSimulation : Boolean = false[static] PhysicsSimulation fixedTimeStep : Number物理模拟器帧的间隔时间:通过减少fixedTimeStep可增加模...
来源: Laya2.0_api 发布时间: 20190513
...urns any[] 填充后的数组。 Static gray gray(target: Sprite, isGray?: boolean): void Defined in laya/ui/UIUtils.ts:47 给指定的目标显示对象添加或移除灰度滤镜。 Parameters target: Sprite 目标显示对象。 Default value isGray: boolean = true 如果值true,则添加灰度...
来源: Laya3.0_api 发布时间: 20231115