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

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

831. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 19%]

...片数据并加载到 LayaAir 引擎中 const img = new Laya.Image(); img.size(110, 145); // 设置图片显示大小 img.skin = Laya.Browser.window.URL.createObjectURL(new Blob([uint8Array], { type: 'image/png' })); img.centerX = 0; // 设置图片居中显示 // 将图片添加到舞台显示 Laya...

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

832. laya.ui.FontClip_API3.0 [ 19%]

...ctor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY autoPlay blendMode bottom cacheAs centerX centerY clipHeight clipWidth clipX clipY ...

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

833. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 19%]

...{ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 } } 效果如图4-2所示: (图4-2) 4.1.2 3D节点的基础使用 首先,如动图4-3所示,将场景中已经添加好...

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

834. laya.ui.TextInput_API3.0 [ 19%]

...t.skin = "resource/ui/input.png";//设置 textInput 的皮肤。 textInput.sizeGrid = "4,4,4,4";//设置 textInput 的网格信息。 textInput.color = "#008fff";//设置 textInput 的文本颜色。 textInput.font = "Arial";//设置 textInput 的文本字体。 textInput.bold = true;//设置 textIn...

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

835. laya.ui.TextArea_API3.0 [ 19%]

...rea.skin = "resource/ui/input.png";//设置 textArea 的皮肤。 textArea.sizeGrid = "4,4,4,4";//设置 textArea 的网格信息。 textArea.color = "#008fff";//设置 textArea 的文本颜色。 textArea.font = "Arial";//设置 textArea 的字体。 textArea.bold = true;//设置 textArea 的文本...

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

836. laya.ui.Tree_API3.0 [ 19%]

...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY array bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable data...

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

837. lib/arm/liblayaair.so 总是崩溃 [ 19%]

... remove_last_modify_file, into 1 times, file_dir:     get_disk_available_size, Disk_available = 36209356800 B = 34531 MB     pack_files, output_path is /data/log/unzip.     move_input_files, create dir [/data/log/unzip/PLK-AL10_PLK-AL10C00B389_0000000000_20180814105751_tombstone] 08-14 10:57:5...

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

838. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 18%]

...; tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width, Laya.stage.height); } function onSuccess(url) { this.video = new Laya.Video(Laya.stage.width, Laya.stage.height); this.video.load(url); Laya....

来源: Laya2.0_文档 发布时间: 20210714

839. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 18%]

...么只有右下区域能点击,明明设置了mouseEnabled=true,设置了size了呢?虽然官方的文档说明里有介绍,真心很多不细看的人压根不知道,也包括我(!嘻嘻) var a: Laya.Sprite = new Laya.Sprite(); a.graphics.drawCircle(0, 0, 50, "#ff0000"); Laya.stage.ad...

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

840. laya.d3.core.scene.BaseScene [ 18%]

...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...

来源: laya_api 发布时间: 20170422