大约有 2,008 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1500) Laya2.0_文档(137) Laya3.0_api(100) Laya2.0_api(77) Laya3.0_文档(68) laya_api(61) Laya_示例(34) Laya2.0_示例(31)
...tage.addChild(box); let boxBody = box.addComponent(Laya.RigidBody); let box1Shape = box.addComponent(Laya.BoxCollider); let box2Shape = box.addComponent(Laya.BoxCollider); let box3Shape = box.addComponent(Laya.BoxCollider); let box4Shape = box.addComponent(Laya.BoxCollider); box1Shape.width = width ...
来源: Laya2.0_示例 发布时间: 20250219
微信小游戏 iPhone X 按钮点击区域 偏差 最新版 引擎库 2018-07-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 点击区域你看看 是不是 也适配屏幕了。 2018...
来源: Laya_社区 发布时间: 20180730
...otationEuler = new Vector3(-90, angle, 0); 附件 : --> 3dText222222.rar 2019-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 1,看描述就看了半天才懂, 2,demo给的不...
来源: Laya_社区 发布时间: 20190716
...如2,结果发现,并非如愿地让物体在竖直方向上由原来1变成两倍(而是垂直屏幕的方向),结果换了下y与z的值,效果才出来,于是我怀疑是不是我把坐标系记错了,一再查看了官网,嗯,没毛病,y就是竖直方向的;难道摄像...
来源: Laya_社区 发布时间: 20180720
...inalX = 200; var characterA = createCharacter("../../res/cartoonCharacters/1.png"); characterA.pivot(46.5, 50); characterA.y = 100; var characterB = createCharacter("../../res/cartoonCharacters/2.png"); characterB.pivot(34, 50); characterB.y = 250; Laya.stage.graphics.drawLine(terminalX, 0, terminal...
来源: Laya_示例 发布时间: 20250219
[LayaAir3]在3.1.x版本 linearVelocity 不能设置初始速度 在3.1.0 和 3.1.1版本,设置linearVelocity失效,无法设置初始速度。 相同工程,使用旧版本 3.0.11仍可以正常设置linearVelocity。 附件 : --> 2024-03-20 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20240320
...项目开发更高效。let texturePath = "res/tinyMaggot.png", padding = 100, maggotAmount = 5000, tick = 0, maggots = [], wrapBounds, maggotTexture; class PerformanceTest_Maggots { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Lay...
来源: Laya2.0_示例 发布时间: 20250219
...以对应成3d对象中的vector3 let origin: any = {x:1,y:2,z:3}; let target: any = {x:5,y:8,z:8}; Laya.Tween.to(origin,target,500).update = new Laya.Handler(null,()=>{ console.log(origin); ...
来源: Laya_社区 发布时间: 20200817
...400,Laya.Tween.cubicOut,0) .addLabel("ZoomOut",0).to(share.btShare,{scaleX:1.0, scaleY:1.0},400,Laya.Tween.cubicOut,0); timeLine.play(0,true); 然后循环创建依次执行ui的延迟动画 Laya.Tween.to(point,{x:point.x,y:point.y,alpha:1,update:Laya.Handler.create(point,function(){ this.visible = ...
来源: Laya_社区 发布时间: 20180118
...ords(words,gX,gY,font,color); } if (this.href){ var lastIndex=words.length-1; var lastWords=words[lastIndex]; var lineY=lastWords.y+lastWords.height; if(cssStyle.textDecoration!="none"){ if(words[0].y != words[words.length-1].y){ let index = 0; let slsIndex;//secondLineStartIndex while(true){ if(wor...
来源: Laya_社区 发布时间: 20190611