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

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

111. 为什么SOCKET接收数据BYTE内存会越来越大 [ 55%]

...的二进制数据读进byte数组便于解析。 this._msgByte.pos = 0;//设置偏移指针; }   发现一个问题就是如果数据传输比较平凡会出现 SOCKET.input里面的缓存会越变越大,但只会触发一次Laya.Event.MESSAGE事件,而且msg是只有最近发送的数据,...

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

112. Component旋转之后宽和高一直保持初始值不变,无法获得旋转之后的宽高 [ 54%]

...滚屏,使得新添加的元素始终保持在最底部显示? 如何设置Sprite的宽高和点击区域? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包A...

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

113. laya.physics.PhysicsDebugDraw [ 54%]

...t 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景...

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

114. https://ask.layabox.com/question/13181官方Demo运行不起来 [ 54%]

....type && message.type == "wxxx") { //通过接收主域的消息来设置开发数据域的画布大小跟矩阵信息 sharedCanvas.width = message.width; sharedCanvas.height = message.height; console.log("-----------------sharedresize----------1------------------"); console.log(message.data...

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

115. laya.ui.ScaleBox [ 54%]

...Component Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

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

116. laya.ui.Box [ 54%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

117. laya.html.dom.HTMLDivElement [ 54%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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

118. laya.ui.Tab [ 53%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

119. laya.ui.Tree_API3.0 [ 53%]

...ion Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree...

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

120. laya.map.TileAniSprite [ 53%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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