大约有 811 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0067 秒)
...50的时候显示范围缩小,变成0的时候去没有隐藏 RenderSprite的源码_maskNative和_mask方法里只判断了宽高大于0的情况,小于等于0的时候却没清空原来绘制的图像 附件 : --> 2023-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20230605
...的距离进行旋转 (this.owner as Laya.Sprite3D).transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "...
来源: Laya_社区 发布时间: 20190605
...已经被锁定, 无法添加新回复 发起人 188*****336 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 写个捕鱼游戏练练手 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 招聘:H5游戏开发 坐标:深圳南山 ...
来源: Laya_社区 发布时间: 20210923
...被折叠 要回复问题请先登录 发起人 186*****718 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 请问LayaAir中如何使图片以圆形的方式...
来源: Laya_社区 发布时间: 20190515
... break; } } private _checkInput(input: Laya.TextInput) { let sp_icon: Laya.Sprite = new Laya.Sprite(); // 判定是否有两个子对象 if (input.numChildren == 2) { input.removeChildAt(1); } // 输入框为空则插入错误图标 if (input.text.trim().length == 0) { input.changeText(""); sp_icon....
来源: Laya_社区 发布时间: 20200410
... Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new 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); ----------------------源码-------------------------- imp...
来源: Laya_社区 发布时间: 20170606
...新添加的元素始终保持在最底部显示? 关于遍历产生的sprite的点击事件,急,大神帮看哈 如何设置Sprite的宽高和点击区域? 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 求指点3d射线碰撞和UI点击穿透的问题 版本不匹...
来源: Laya_社区 发布时间: 20170517
....utils.Browser; import laya.utils.Timer; import laya.display.Sprite; import laya.net.Loader; import laya.ui.TextArea; import laya.resource.Texture; import laya.maths.Point; import laya.utils.Tween; import laya.d3.resource.models.PrimitiveMesh; ...
来源: Laya_社区 发布时间: 20170921
...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...
来源: Laya_社区 发布时间: 20170714
...yaScene_AAA`。 ##### 3.3.3 场景导出与预设导出的区别 Scene3D与Sprite3D分别是场景导出的配置项和预设导出的配置项。如下图所示。  ##### 场景 `Scene3D` 采用`Scene3D(场景)`选项导出,会导出整个场景,无论场景中的模型、...
来源: Laya2.0_文档 发布时间: 20210714