大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...页面 * 支持 加载下一个场景的同时执行异步方法 */ export default class LoadPage { constructor(url = null) { this._loadScene = null if (url) this.preload(url) } /** * 预加载loading页面 * @param {String} url loading页面url */ async preload(url = 'loadingpage.scene') { if (this...
来源: Laya_社区 发布时间: 20181124
...anifest这个表中存放在这个位置: "scene/001/Scene/Library/unity default resources.lmat": "scene/001/Scene/Library/unity default resourcescp6d1b06e7.lmat",但是因为我放到的不是Web浏览器的基础路径,所以浏览器访问资源使用的URL是这样的: h5/scene/001/Scene/L...
来源: Laya_社区 发布时间: 20180130
...ctor3, o:Vector3):void[static] 求两个三维向量的差。 Vector3 toDefault():voidVector3 transformCoordinate(coordinate:Vector3, transform:Matrix4x4, result:Vector3):void[static] 通过矩阵转换一个三维向量到另外一个归一化的三维向量。 Vector3 TransformNormal(norm...
来源: Laya2.0_api 发布时间: 20190513
...组对象。 str: string 用逗号连接的字符串。如"p1,p2,p3,p4"。 Default value type: typeof Number | typeof String = null 如果值不为null,则填充的是新增值得类型。 Returns any[] 填充后的数组。 Static gray gray(target: Sprite, isGray?: boolean): void Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...rams:Array = null):AnimationClip Parameters data:* propertyParams:Object (default = null) constructParams:Array (default = null)ReturnsAnimationClipaddEvent()method public function addEvent(event:AnimationEvent):void 添加动画事件。 Parameters event:AnimationEventduration()method public ...
来源: Laya2.0_api 发布时间: 20190513
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 isModal isModal: boolean Defined in laya/ui/Dialog.ts:190 是否是模式窗...
来源: Laya3.0_api 发布时间: 20231115
...ned in laya/utils/IStatRender.ts:10 显示性能统计信息。 Parameters Default value x: number = 0 X轴显示位置。 Default value y: number = 0 Y轴显示位置。 views: any Returns void Globals "laya/utils/IStatRender" IStatRender enable hide isCanvasRender renderNotCanvas set_onclick show ...
来源: Laya3.0_api 发布时间: 20231102
...:Array = null):void 异步回调 Parameters data:* propertyParams:Object (default = null) constructParams:Array (default = null)load()method public static function load(url:String, complete:Handler, widht:int, height:int, bitType:int, value:Number):void 加载地形高度模板,注意:不缓存...
来源: Laya2.0_api 发布时间: 20190513
...ime(passedTime:Number = 1):void 时钟前进 Parameters passedTime:Number (default = 1) — 前进时间 clear()method public function clear():void 清理当前的活跃粒子 emit()method public function emit():void 发射一个粒子 start()method public function start(duration:Number):void ...
来源: laya_api 发布时间: 20170929
...G defuv flipyuv Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture depthStencilFormat destroyed dimension filterMode format gammaCorrection gammaSpace generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount obsolute offsetX offsetY referenceCount samples so...
来源: Laya3.0_api 发布时间: 20231115