大约有 171 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
...e.log("Particle3D"); //从拿到的粒子系统克隆一个 var res = Laya.loader.getRes(file_path); var particle = res.clone(); this._particle = particle; //获取这个粒子特效的所有粒子系统,用于后面整体播放 for (var i = 0, len = this._particle.numChildren; i < len; i++) { ...
来源: Laya3.0_文档 发布时间: 20250104
...码,可以初始化A*的地图数据 //读取地形图 this.aStarMap = Loader.getTexture2D("res/threeDimen/scene/TerrainScene/Assets/AStarMap.png"); //获得地图数据 var aStarArr = this.createGridFromAStarMap(this.aStarMap); //使用astar初始化地图数据 this.graph = new (window as any).G...
来源: Laya3.0_文档 发布时间: 20230303
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDisp...
来源: Laya2.0_api 发布时间: 20190513
...tField") export class TestField extends IEditor.PropertyField { @IEditor.onLoad static async onLoad() { await gui.UIPackage.resourceMgr.load("MyField.widget"); } create() { let input = gui.UIPackage.createWidgetSync("MyField.widget"); return { ui: input }; } refresh() { //这里负责将数据设置...
来源: Laya3.0_文档 发布时间: 20251010
...lobalToLocal gotoAndStop hasHideFlag hasListener hitTestPoint isAncestorOf load loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play playTo pos reCache removeChild removeChildAt removeChildByName removeChildren remov...
来源: Laya3.0_api 发布时间: 20231115
...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载场景,注意:不缓存。 Scene3D loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注...
来源: Laya2.0_api 发布时间: 20190513
...ouseX mouseY muted numChildren parent paused pivotX pivotY playbackRate preload readyState rotation scaleX scaleY scene scrollRect seekable seeking skewX skewY source stage staticCache texture timer transform url videoHeight videoTexture videoWidth viewport visible volume width x y zOrder Methods _i...
来源: Laya3.0_api 发布时间: 20231115
... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf load loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint paused pivot play playbackRate pos reCache removeChild removeChildAt removeChildByName removeC...
来源: Laya3.0_api 发布时间: 20231115
...否为特定事件类型注册了任何侦听器。 EventDispatcher hideLoadingPage(delay:int = 500):void[static] 隐藏loading界面 Scene hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是...
来源: Laya2.0_api 发布时间: 20190513
... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repa...
来源: Laya3.0_api 发布时间: 20231115