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

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

1231. Config_API3.0 [ 61%]

...GL2D_MeshAllocMaxMem fontFamilyMap Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property

来源: Laya3.0_api 发布时间: 20231115

1232. laya.d3.core.scene.BaseScene [ 61%]

...片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Lay...

来源: laya_api 发布时间: 20170422

1233. 微信小游戏IDE加载位图字体,提示错误 [ 61%]

...示错误 错误提示如下:xml.getElementsByTagName is not a function TypeError: xml.getElementsByTagName is not a function     at BitmapFont.__proto.parseFont (http://127.0.0.1:61385/game/code.js:803:17)     at Loader.__proto.onLoaded (http://127.0.0.1:61385/game/code.js:12700:11)     at ...

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

1234. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 61%]

...的引入改成相对路劲,就报其他的路径找不到。 出错了: TypeScript error: node_modules/@types/node/index.d.ts(50,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found.   现在把protobufjs放到Laya IDE的安装目录下的node_modules下面。可以编译通过...

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

1235. 视频节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VideoNode }) public video: Laya.VideoNode; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // 鼠标点击触发...

来源: Laya3.0_文档 发布时间: 20251010

1236. TiledMap加载报错 relativePath为空 [ 61%]

... 1, 1, 1, 1, 1, 1, 1], "height":25, "name":"\u5757\u5c42 2", "opacity":1, "type":"tilelayer", "visible":true, "width":25, "x":0, "y":0 }, { "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...

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

1237. laya.filters.ColorFilter_API3.0 [ 61%]

...ter DELTA_INDEX GRAY_MATRIX IDENTITY_MATRIX LENGTH Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

1238. layaAir TS项目如何引用protoBuf库? [ 61%]

...加到这里-->     <!--jsfile--Custom-->     <script type="text/javascript" src="libs/protobuf.js"></script>     <!--jsfile--Custom--> 3、测试代码参考了上面那个连接,但稍微做了修改: // 程序入口 class GameMain{     constructor(){ ...

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

1239. AS翻译成JS的时候能不能自动进行类型转换啊?不然每个地方都要手动在AS进行手动添加强制转换 [ 61%]

...Monica:多参函数的翻译也有问题啊。 AS: functiong storeString(type:String, ...value):void{ var a : * = value[0]; } 翻译后的JS: storeString=function(type,__value){ var value=[];for(var i=1,sz=arguments.length;i<sz;i++)value.push(arguments[i]); var a=value[0]; } 这个时候的...

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

1240. laya.ui.TextArea_API3.0 [ 61%]

...t promptColor restrict right rotation scaleX scaleY scene scrollRect scrollType scrollX scrollY sizeGrid skewX skewY skin stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url vScrollBar vScrollBarSkin valign viewpo...

来源: Laya3.0_api 发布时间: 20231115