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

大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0084 秒)

781. 弹出框无法正常显示,见demo [ 72%]

...回复 bpmf_d 赞同来自: // var pop = new PopupDialog(); // pop.popup(true,true);把上面的代码改成下面的试试 Laya.Scene.open("PopupDialog.scene"); 2019-05-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 无名 相关问...

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

782. laya.ui.ViewStack_API3.0 [ 72%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...

来源: Laya3.0_api 发布时间: 20231115

783. 怎么让laya h5自动适应手机横竖屏? [ 72%]

...根据手机方向旋转屏幕 。 @param autoOrients 是否自动旋转 true 旋转;false 不旋转 IFlash.setAutoOrients(true);//是否自动旋转 2015-12-04 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 arvin0 相关问题 看了...

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

784. laya.ui.UIUtils_API3.0 [ 72%]

...eters target: Sprite 目标显示对象。 Default value isGray: boolean = true 如果值true,则添加灰度滤镜,否则移除灰度滤镜。 Returns void Static toColor toColor(color: number): string Defined in laya/ui/UIUtils.ts:37 转换uint类型颜色值为字符型颜色值。 Parameters...

来源: Laya3.0_api 发布时间: 20231115

785. 为啥我在批量removeself 会报错卡死 [ 72%]

... []; if(selectImg != null) { selectImg.removeSelf(); } this.mouseEnabled = true; if(this.visible == false) { this.visible = true; } super.removeSelf(); if(itemCountTx != null) { itemCountTx.removeSelf(); } return this; }   2017-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

786. layabox有播放图片内指定小图帧的API吗? [ 72%]

...box 有类似这样的API吗? this.animations.add('down', [0, 1, 2], 10, true); this.animations.add('left', [12, 13, 14], 10, true); 就是一个角色的上下左右动作都放一张图片里面了 2017-12-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

787. 物理触发器(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 72%]

...lider); //标记为触发器,取消物理反馈 staticCollider.isTrigger = true; ``` 有刚体的物体设置触发器的方法如下: ```typescript //创建一个球体 var sphere = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(radius))); //给球体添加刚体 var rigidBo...

来源: Laya2.0_文档 发布时间: 20210715

788. 开启全屏后标题栏变成了黑边遮挡住了UI [ 72%]

...启全屏后标题栏变成了黑边遮挡住了UI Laya3D.init(1920,1080,true); Laya.stage.fullScreenEnabled = true; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; 2017-12-12 添加评论 免费帖 --> 分享 微博 QZ...

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

789. laya.d3.core.MeshSprite3D_API3.0 [ 72%]

...s:310 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...

来源: Laya3.0_api 发布时间: 20231115

790. laya.spine.SpineSkeleton_API3.0 [ 72%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...

来源: Laya3.0_api 发布时间: 20231115