大约有 1,416 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya_社区(871) Laya2.0_文档(129) Laya3.0_api(105) Laya_示例(75) Laya2.0_api(66) laya_api(61) Laya3.0_文档(58) Laya2.0_示例(51)
...video.videoWidth; image.height = videoTexture.video.videoHeight; image.pos(100,100); Laya.stage.addChild(image); //目前LayaAir2.0引擎暂时没有提供刷新纹理机制,需要手动刷新。或者你可以试用LayaAir3.0引擎,那边实现videoTexture不用自己手动刷新 Laya.timer.fra...
来源: Laya_社区 发布时间: 20240305
...Sprite里面,示例: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var sp:Sprite = new Sprite();//创建精灵 sp.graphics.drawTexture(htmlCanvas.getTexture());//把截图绘制到精灵上 Laya.stage.addChild(sp);//把精灵显示到舞台 也...
来源: Laya2.0_api 发布时间: 20190513
...0x1c1b38f00 <+28>: cbz x0, 0x1c1b38f48 ; <+100> -> 0x1c1b38f04 <+32>: ldrh w8, [x0, #0x4] 0x1c1b38f08 <+36>: cbz w8, 0x1c1b38f48 ; <+100> 0x1c1b38f0c <+40>: rev16 w8, w8 0x1c1b38f10 <...
来源: Laya_社区 发布时间: 20240124
... { this.list_rule.scrollBar.stopScroll(); this.list_rule.tweenTo(index - 1,100); } else if (this.list_rule.scrollBar.value > this.m_downValue) { this.list_rule.scrollBar.stopScroll(); this.list_rule.tweenTo(index + 1,100); } } this.m_downValue = -1; } } } 2020-10-18 0 0 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20170215
...向AS/JS/TS开发者提供HTML5开发技术方案!"; this.txt.size(200, 100); this.txt.x = Laya.stage.width - this.txt.width >> 1; this.txt.y = Laya.stage.height - this.txt.height >> 1; this.txt.borderColor = "#FFFF00"; this.txt.fontSize = 20; this.txt.color = "#ffffff"; this.txt.on(Event.MOUSE_DO...
来源: Laya2.0_示例 发布时间: 20251209
...Flash机制不同 Sprite maxChars : int 字符数量限制,默认为10000。 设置字符数量限制时,小于等于0的值将会限制字符数量为10000。 TextInput mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象...
来源: Laya2.0_api 发布时间: 20190513
...l.color = "#FFFFFF"; maxXLabel.pos(this.playerScript.mapMaxX - 100, this.playerScript.mapMinY - 20); this.owner.addChild(maxXLabel); const minYLabel = new Laya.Text(); minYLabel.text = `minY: ${this.playerScript.mapMinY}`; minYLabel.color...
来源: Laya_社区 发布时间: 20251125
...能说明 最大值 max 滑块拖动到最下边时的值,默认数值为100 最小值 min 滑块拖动到最上边时的值,默认数值为0 显示标签 showLabel 是否显示标签。默认为true,运行时拖动滑块会显示value值 显示进度条 showProgress 是否显示进度条。...
来源: Laya3.0_文档 发布时间: 20251010
...能说明 最大值 max 滑块拖动到最右边时的值,默认数值为100 最小值 min 滑块拖动到最左边时的值,默认数值为0 显示标签 showLabel 是否显示标签。默认为true,运行时拖动滑块会显示value值 显示进度条 showProgress 是否显示进度条。...
来源: Laya3.0_文档 发布时间: 20251010
...147, BUTTON_HEIGHT = 165 / 3, HORIZONTAL_SPACING = 200, VERTICAL_SPACING = 100, xOffset, yOffset, skins; class UI_Button { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.in...
来源: Laya2.0_示例 发布时间: 20251209