大约有 2,173 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1591) Laya2.0_文档(140) Laya3.0_api(124) Laya2.0_api(97) laya_api(69) Laya3.0_文档(55) Laya_示例(52) Laya2.0_示例(45)
...#232628"; createTexts(); })(); function createTexts() { createText('left', 1, null, 100, 10); createText('center', 2, "#00BFFF", 155, 150); createText('right', 3, "#FF7F50", 210, 290); } function createText(align, underlineWidth, underlineColor, x, y) { var txt = new Text(); txt.text = "Layabox\n是...
来源: Laya_示例 发布时间: 20241124
... Inherited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Coll...
来源: Laya3.0_api 发布时间: 20231115
...ew Image(bgSkin); bg.size(224, 302); bg.pos(Laya.stage.width - bg.width >> 1, Laya.stage.height - bg.height >> 1); Laya.stage.addChild(bg); } createTimerAnimation() { const Clip = Laya.Clip; this.counter = new Clip(clipSkin, 10, 1); Laya.stage.addChild(this.counter); this.counter.autoPlay = true; th...
来源: Laya2.0_示例 发布时间: 20241124
... Inherited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Coll...
来源: Laya3.0_api 发布时间: 20231115
...r; void main(){ vec4 pos =mmat*vec4(position.x,position.y,0,1); gl_Position = vec4((pos.x/size.x-0.5)*2.0, (0.5-pos.y/size.y)*2.0, pos.z, 1.0); v_color = color;v_texcoord = texcoord;}`class ShaderValue extends Laya.Value2D { constructor () { super(0, 0) var _vlen = 8...
来源: Laya_社区 发布时间: 20180313
怎样获取鼠标/触摸当前坐标 2017-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 wudi199553 赞同来自: qwer535305054 function getMousePos(ev) { var scrollX = document.documentElement....
来源: Laya_社区 发布时间: 20171102
...W; //内容是否为竖屏内容 var isDesH = desH > desW; var scaleY = 1; var scaleX = 1; var x = (divW - desW) / 2; var y = (divH - desH) / 2; if (isDesH != isDivH) { var d = divH; divH = divW; divW = d; } if (Laya.stage.scaleMode != "noscale") { scaleY = divH / desH; scaleX = divW / desW; swit...
来源: Laya_社区 发布时间: 20171205
...2628"; this.createTexts(); } createTexts() { this.createText('left', null, 100, 10); this.createText('center', "#00BFFF", 155, 150); this.createText('right', "#FF7F50", 210, 290); } createText(align, underlineColor, x, y) { const Text = Laya.Text; let txt = new Text(); Laya.stage.addChild(txt); txt....
来源: Laya2.0_示例 发布时间: 20241124
...&执行完成后回到起点 使用的是官方的TimeLine demo 问题1:如果在onComplete中调用destroy报错 问题2【用法问题请无视】:如果注释掉“turnUp”, 在动画执行完成后, 图片的x,y坐标变成了起始坐标 报错信息: .max.js:12479 Uncaught ...
来源: Laya_社区 发布时间: 20170327
... Inherited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Coll...
来源: Laya3.0_api 发布时间: 20231115