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

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

11. UI-Button [ 84%]

...IDTH = 147; var BUTTON_HEIGHT = 165 / 3; var HORIZONTAL_SPACING = 200; var VERTICAL_SPACING = 100; var xOffset; var yOffset; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; ...

来源: Laya_示例 发布时间: 20241118

12. laya.ani.bone.canvasmesh.SkinMeshForGraphic_API3.0 [ 83%]

...ies canvasPadding indexes texture transform useUvTransform uvTransform uvs vertices Methods getBounds init2 Constructors constructor new SkinMeshForGraphic(): SkinMeshForGraphic Defined in laya/ani/bone/canvasmesh/SkinMeshForGraphic.ts:9 创建SkinGraphic Mesh数据 Returns SkinMeshForGraphic Proper...

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

13. HTMLDivElement 标签嵌套问题 [ 83%]

HTMLDivElement 标签嵌套问题 <span style='vertical-align:top; font-weight: bold; color:#ffffff;'><span style='vertical-align:top; color: #FFE114'>恭喜!</span> <span style='vertical-align:top; color: #FFFFFF'>包容的雁河菊</span> <span style='vertical-a...

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

14. laya.ani.bone.canvasmesh.MeshData_API3.0 [ 82%]

...ex Properties canvasPadding indexes texture useUvTransform uvTransform uvs vertices Methods getBounds Properties canvasPadding canvasPadding: number = 1 Defined in laya/ani/bone/canvasmesh/MeshData.ts:43 扩展像素,用来去除黑边 indexes indexes: Uint16Array = new Uint16Array([0, 1, 3, 3, 1, 2...

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

15. laya.display.cmd.DrawTrianglesCmd_API3.0 [ 81%]

...nglesCmd Index Properties alpha blendMode color indices matrix texture uvs vertices x y ID Methods getBoundPoints recover Properties alpha alpha: number Defined in laya/display/cmd/DrawTrianglesCmd.ts:46 alpha blendMode blendMode: string | null Defined in laya/display/cmd/DrawTrianglesCmd.ts:51 blen...

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

16. laya.ani.bone.SkinSlotDisplayData_API3.0 [ 81%]

...Name bones height lengths name texture transform triangles type uvs verLen vertices weights width Methods createTexture destory Properties attachmentName attachmentName: string Defined in laya/ani/bone/SkinSlotDisplayData.ts:12 附件名称 bones bones: any[] Defined in laya/ani/bone/SkinSlotDisplay...

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

17. 发布log bug [ 78%]

...示:[xmldom error]    element parse error: Error: invalid attribute:vertical-align:  [xmldom error]    element parse error: Error: invalid attribute:vertical-align:    找不到问题在哪里 这个是什么问题呢? 附件 : --> 2019-05-31 添加评论 免费帖 --> 分享 微博 QZO...

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

18. android旋转屏幕 半边黑屏 [ 76%]

...stage.alignV = "top"; Laya.stage.alignH = "left"; Laya.stage.screenMode = "vertical"; Laya.stage.scaleMode = Stage.SCALE_FULL; spr = new Sprite var te:Text = new Text(); te.fontSize = 50; te.text = "内容测试"; spr.addChild(te); Laya.stage.addChild(spr); Laya.stage.on(Event.CLICK, this, function(...

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

19. 屏幕适配-自动竖屏 [ 76%]

...ER; Laya.stage.scaleMode = "showall"; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage.bgColor = "#232628"; showText(); })(); function showText() { var text = new Text(); text.text = "Orientation-Portrait"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text.x = Laya.stage.w...

来源: Laya_示例 发布时间: 20241118

20. 屏幕适配-自动竖屏 [ 75%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage.bgColor = "#232628"; this.showText(); } showText() { const Text = Laya.Text; let text = new Text(); text.text = "Orientation-Portrait"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text....

来源: Laya2.0_示例 发布时间: 20241118