大约有 1,977 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0094 秒)
Laya_社区(1486) Laya2.0_文档(137) Laya3.0_api(100) Laya2.0_api(77) laya_api(61) Laya3.0_文档(51) Laya_示例(34) Laya2.0_示例(31)
...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); } function createTimerAnimation() { counter = new Clip(clipSkin, 10, 1); counter.autoPlay = true; counter.interval = 1000; counter.x = (Laya.stage.width - count...
来源: Laya_示例 发布时间: 20240930
...ic.drawLine(startWord.x,lineY,lastWords.x+lastWords.width,lineY,this.color,1); var hitRec=HTMLHitRect.create(); hitRec.rec.setTo(startWord.x,lastWords.y,lastWords.x+lastWords.width-startWord.x,lastWords.height); hitRec.href=this.href; recList.push(hitRec); }graphic.drawLine()这里会用到this.colo...
来源: Laya_社区 发布时间: 20190801
layair 两点之间的距离api在哪里 2018-08-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 阿耀 赞同来自: 陌离 纯数学问题,可以自己封装,laya并没有这样的api /** * * @param {坐...
来源: Laya_社区 发布时间: 20180827
...展Laya.Text组件实现支持换色、加粗、下划线的文本类型 2018-04-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 6 个回复 he853066732 赞同来自: 176*****233 主要思路就是根据文本里面的关...
来源: Laya_社区 发布时间: 20180417
...Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内...
来源: laya_api 发布时间: 20170929
... console.log(sprite.width,sprite.height)); } 附件 : --> ZG.zip 2016-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: spine动画实际上就相当于是一个sprite...
来源: Laya_社区 发布时间: 20161108
...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_示例 发布时间: 20240930
...0,lineTo,32,448,moveTo,64,0,lineTo,64,448,moveTo,96,0,lineTo,96,448,moveTo,128,0,lineTo,128,448,moveTo,160,0,lineTo,160,448,moveTo,192,0,lineTo,192,448,moveTo,224,0,lineTo,224,448,moveTo,256,0,lineTo,256,448,moveTo,288,0,lineTo,288,448,moveTo,320,0,lineTo,320,448,moveTo,352,0,lineTo,352,448,moveTo,3...
来源: Laya_社区 发布时间: 20170901
...; this.maxRight不成立,应当是不会产生新地板,谢谢指导 2018-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 这个建议你去私信问一下写这个的 我没看过 解...
来源: Laya_社区 发布时间: 20180329
...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