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

大约有 2,767 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0095 秒)

391. laya.d3.core.Camera [ 82%]

...ite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D addLayer(layer:Layer):void 增加可视图层。 BaseCamera clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clo...

来源: laya_api 发布时间: 20170929

392. laya.d3.core.material.SkyProceduralMaterial_API3.0 [ 81%]

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

393. Image不能清空图片吗? [ 81%]

...(123,68); this.lastMakeMc.size(32,32); }else{ this.lastMakeMc.skin = "face/type"+type+".png"; } if(type == -999){ this.lastMakeMc.dispose(); } 2018-06-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ayiui4566 ...

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

394. 微信小游戏编译出错 [ 81%]

...Yangcy • 2018-06-11 14:28 @Laya_Aaron:if (!errorCode){ var tempData; if (type=="json" || type=="atlas"){ tempData=MiniAdpter.getJson(data.data); }else if (type=="xml"){ tempData=Utils.parseXMLFromString(data.data); }else { tempData=data.data; } if(!MiniAdpter.isZiYu &...

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

395. protobuf TS中使用 [ 81%]

protobuf TS中使用 我已经在index.html中加入 <script type="text/javascript" src="libs/protobuf.js"></script> 但是工程中libs怎么加入.d.ts呢? 2017-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

396. 请问预制体除了.prefab脚本文件外,还有没有其他的关联文件? [ 81%]

... 138*****782 赞同来自: 就比如说,我第一个.prefab的格式是 { "type":"Box", "child": [ ...... ], "props":..................} 而第二个是 {  "x":0,  "type":"Box",  "selectedBox":1,  "selecteID":3,  "props":.......................... "child":  [  ......  ]  }   而且其中...

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

397. laya.d3.core.light.SpotLight [ 81%]

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

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

398. laya.d3.core.material.UnlitMaterial_API3.0 [ 81%]

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

399. ts 用 getChildByName 返回类型出错 [ 81%]

...么解决 var text:Laya.Text = someNode.getChildByName('textName'); [ts] Type 'Node' is not assignable to type 'Text'. Property '_text' is missing in type 'Node' 2016-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

400. socket通讯返回数据 [ 81%]

...时 控制台写出 报错如下: 连接出错 Event {isTrusted: true, type: "error", target: WebSocket, currentTarget: WebSocket, eventPhase: 2…} 关闭事件 CloseEvent {wasClean: false, code: 1006, reason: "", type: "close", target: WebSocket…} //--------------------------------------------...

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