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

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

1. 和原生Dom交互 · LayaAir3.0文档 · LAYABOX [ 100%]

...开发者不注意导致iframe跑到游戏层的下面而看不见。 Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2023-06-29 22:55:00 img{cursor:pointer}

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

2. 网络通信 · LayaAir3.0文档 · LAYABOX [ 97%]

...偏移量位置处写入 Float32 值。范围是$\left[-2^{128}, 2^{127}\right]$,约为-3.4E38—3.4E+38。 var byte:Laya.Byte = new Laya.Byte(); byte.writeFloat32(10.021); ​ writeFloat64(value:number):void写入float64位数值 其数值范围为-1.7E308~1.7E+308。 ​ writeInt16(value:numbe...

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

3. 绘制图形 · LayaAir3.0文档 · LAYABOX [ 81%]

... * @param textAlign 文本对齐方式,可选值:"left","center","right"。 */ fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign: string): FillTextCmd { return this.addCmd(FillTextCmd.create(text, x, y, font, color, textAlign, 0, "")); } 代码示...

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