• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 712 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)

701. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 53%]

...解答(最新版本:1.7.16) Layaair IDE的帧属性面板不见了 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 有什么容器能够实现当子元素达到显示上限后自动滚屏...

来源: Laya_社区 发布时间: 20170717

702. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 51%]

...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

703. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 51%]

...的距离进行旋转                 (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

704. h5 游戏在ios15更新以后出现了显示显示问题 [ 50%]

...已经被锁定, 无法添加新回复 发起人 188*****336 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 写个捕鱼游戏练练手 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 招聘:H5游戏开发 坐标:深圳南山 ...

来源: Laya_社区 发布时间: 20210923

705. 遮罩层宽高为0显示异常 [ 50%]

...50的时候显示范围缩小,变成0的时候去没有隐藏   RenderSprite的源码_maskNative和_mask方法里只判断了宽高大于0的情况,小于等于0的时候却没清空原来绘制的图像 附件 : --> 2023-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

来源: Laya_社区 发布时间: 20230605

706. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 50%]

... 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

707. ios safari横屏下,鼠标点击不正确,且旋转屏幕时显示错位 [ 50%]

...被折叠 要回复问题请先登录 发起人 186*****718 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 请问LayaAir中如何使图片以圆形的方式...

来源: Laya_社区 发布时间: 20190515

708. 分享一个Shader版的CoolDown实现 [ 48%]

... 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

709. 动画不显示 [ 46%]

....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

710. 3D中摄像机绕物体旋转该如何实现? [ 40%]

...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