大约有 2,086 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
Laya_社区(1571) Laya2.0_文档(137) Laya3.0_api(100) Laya2.0_api(77) Laya3.0_文档(75) laya_api(61) Laya_示例(34) Laya2.0_示例(31)
画出来鼠标轨迹线 Laya.init(1920,1080); Laya.stage.scaleMode=Laya.Stage.SCALE_SHOWALL; var point=[];//声明一个集合,用于记录鼠标的位置 var img1=new Laya.Sprite();//声明第一个老婆 var img2=new Laya.Sprite();//声明第二个老婆 var lines=new Laya.Sprite();//声明全...
来源: Laya_社区 发布时间: 20171018
...是x = 800,y = 600 DEMO截图见下图 工程为2.x;这个bug在1.x中也存在 附件 : --> testLab.rar 2018-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: sp没有添...
来源: Laya_社区 发布时间: 20181120
...ndex.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tree)。 ### 1.1 Tree 组件主要由两个部分组成: - 项单元格(可以是 Box 、页面 View、自定义页面); - 纵向滚动条 VScrollBar; ### 1.2 Tree 组件的单元格通常由四部分组成: - 一个单元格...
来源: Laya2.0_文档 发布时间: 20210714
...; var ROW_AMOUNT = 3; var HORIZONTAL_SPACING = 200; var VERTICAL_SPACING = 100; var X_OFFSET = 100; var Y_OFFSET = 50; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.s...
来源: Laya_示例 发布时间: 20251209
...如果我想使用Loader.getRes 来载入缓存的图片应如何处理. 2017-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Monica - 知识达人 赞同来自: 你说的tempnote.on函数不触发是指无...
来源: Laya_社区 发布时间: 20171024
...mit = 200; dragRegion = new Rectangle(Laya.stage.width - dragWidthLimit >> 1, Laya.stage.height - dragHeightLimit >> 1, dragWidthLimit, dragHeightLimit); //画出拖动限制区域 Laya.stage.graphics.drawRect( dragRegion.x, dragRegion.y, dragRegion.width, dragRegion.height, null, "#FFFFFF", 2); } f...
来源: Laya_示例 发布时间: 20251209
...咋可能有ui/common/x.png这个资源嘛?!都打到图集里了的 2018-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: karin666 这个不是bug ,不过还是没get到 问题...
来源: Laya_社区 发布时间: 20180808
...ew coolDownSprite(); this.spe.init(texture); //this.spe.initWithoutTexture(128, 128); this.spe.pos(300, 350); this.spe.setProgress(this.progress); Laya.stage.addChild(this.spe); ----------------------源码-------------------------- import Shader = laya.webgl.shader.Shader; export class coolDo...
来源: Laya_社区 发布时间: 20170606
...ext(element, _x, _y, fonts, this.color, "left"); if (yAction(printNumber + 1) > h) { j++; printNumber = 0; } else { printNumber++; } } } drawTextBySprite(sprite: Laya.Sprite) { sprite.addChild(this.sprite); this.drawText(sprite.x, sprite.y, sprite.width, sprite.height); } onEnable(): void { } onD...
来源: Laya_社区 发布时间: 20191103
...tionEuler, { x: _vector3.x, y: _vector3.y, z: _vector3.z + (20 * Math.PI / 180) }, 500); 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 183*****755 赞同来自: 这个只是get,没有set。 2017-08-2...
来源: Laya_社区 发布时间: 20170824