大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0082 秒)
Laya_社区(1721) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...会加载引用的资源文件? Laya.loader.create([{url:"Map01.ls","type":Laya.Scene},{url:"model.lh","type":Laya.Sprite3D}]) 第二种就只会加载这两个json文件,不会加载引用的资源?需要怎么弄? 附件 : --> 2019-03-05 添加评论 免费帖 --> 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20190305
...turns void effectiveProperty effectiveProperty(): Map<string, ShaderDataType> Inherited from Material.effectiveProperty Defined in laya/d3/core/material/Material.ts:534 get all material uniform property Returns Map<string, ShaderDataType> event event(type: string, data?: any): boolean In...
来源: Laya3.0_api 发布时间: 20231115
...静态。 Sprite3D layer : int 获取蒙版。 Sprite3D lightmapBakedType : int 获取灯光烘培类型。 LightSprite LIGHTMAPBAKEDTYPE_BAKED : int = 2[static] 灯光烘培类型-烘焙。LightSprite LIGHTMAPBAKEDTYPE_MIXED : int = 1[static] 灯光烘培类型-混合。LightSprite LIG...
来源: Laya2.0_api 发布时间: 20190513
...= 0, endFrame:int = 4294967295):void 添加动画片段。 Animator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getClip(playName:String):AnimationClip 通过播放名字获取动画片段。 Animator getClipCount():int 获取动画片段个数。 Animator hasLis...
来源: laya_api 发布时间: 20170929
...重复,望精简。保留onClosed 即可 __proto.doClose=function(dialog,type){ dialog.removeSelf(); dialog.isModal && this._checkMask(); dialog.closeHandler && dialog.closeHandler.runWith(type); dialog.onClosed(type); } 2018-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20180914
...bleStaticInstanceBatchRender enabled hideFlags id importance probePosition type Methods _initialize _motionInVolume _reCaculateBoundBox _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onUpdate reBatch Constructors constructor n...
来源: Laya3.0_api 发布时间: 20231115
...oundsMax boundsMin destroyed enabled hideFlags id importance probePosition type Methods _VolumeChange _addRenderNode _initialize _motionInVolume _reCaculateBoundBox _removeRenderNode _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onRe...
来源: Laya3.0_api 发布时间: 20231115
...worker.js中执行了这句话`onmessage=function(t){var e=t.data;switch(e.type){case"load":loadImage2(e)}};`,e=t.data,也就是上面postMessage中的url,是一个字符串,那么e.type是undefined,根本不会执行到loadImage2(e)。 附件 : --> Demo.rar 2019-06-05 添加评论 免费...
来源: Laya_社区 发布时间: 20190605
... Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控...
来源: Laya2.0_api 发布时间: 20190513
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...
来源: Laya2.0_api 发布时间: 20190513