大约有 712 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
...解答(最新版本:1.7.16) Layaair IDE的帧属性面板不见了 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 有什么容器能够实现当子元素达到显示上限后自动滚屏...
来源: Laya_社区 发布时间: 20170717
...d(testView); // //return; Laya.timer.once(3000, this, function():void{ var sprite:Sprite = new Sprite(); sprite.pos(0, 0); var texture:Texture = new Texture(Browser.window.sharedCanvas); texture.bitmap.alwaysChange = true;//小程序使用,非常费,这个参数可以根据自己的需求适当...
来源: Laya_社区 发布时间: 20180525
...的距离进行旋转 (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
...50的时候显示范围缩小,变成0的时候去没有隐藏 RenderSprite的源码_maskNative和_mask方法里只判断了宽高大于0的情况,小于等于0的时候却没清空原来绘制的图像 附件 : --> 2023-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20230605
... 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
...被折叠 要回复问题请先登录 发起人 186*****718 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 请问LayaAir中如何使图片以圆形的方式...
来源: Laya_社区 发布时间: 20190515
... 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
....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