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

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

451. loader.create如果传入多种类型的资源不会加载关联的资源 [ 79%]

...会加载引用的资源文件?   Laya.loader.create([{url:"Map01.ls","type":Laya.Scene},{url:"model.lh","type":Laya.Sprite3D}])   第二种就只会加载这两个json文件,不会加载引用的资源?需要怎么弄? 附件 : --> 2019-03-05 添加评论 免费帖 --> 分享 微博 QZONE...

来源: Laya_社区 发布时间: 20190305

452. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 79%]

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

453. laya.d3.core.light.LightSprite [ 79%]

...静态。 Sprite3D layer : int 获取蒙版。 Sprite3D  lightmapBakedType : int 获取灯光烘培类型。 LightSprite  LIGHTMAPBAKEDTYPE_BAKED : int = 2[static] 灯光烘培类型-烘焙。LightSprite  LIGHTMAPBAKEDTYPE_MIXED : int = 1[static] 灯光烘培类型-混合。LightSprite  LIG...

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

454. laya.d3.component.Animator [ 79%]

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

455. closeHandler和onClosed是不是功能累赘了?都是指关闭后的处理 [ 79%]

...重复,望精简。保留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

456. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 79%]

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

457. laya.d3.component.volume.Volume_API3.0 [ 79%]

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

458. 2.0.2使用worker加载图片的问题 [ 79%]

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

459. laya.d3.core.trail.TrailSprite3D [ 79%]

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

460. laya.display.AnimationBase [ 79%]

...域的属性为: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