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

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

681. transform的position废弃了,那现在用啥,官网api更新了吗 [ 71%]

transform的position废弃了,那现在用啥,官网api更新了吗 Warning: discard property,please use transform's property instead. 2018-01-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来...

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

682. laya.maths.Rectangle_API3.0 [ 71%]

...影响其他属性。 Hierarchy Rectangle Index Constructors constructor Properties height width x y TEMP Accessors bottom right Methods addPoint clone contains copyFrom equals intersection intersects isEmpty recover reset setTo toString union create Constructors constructor new Rectangle(x?: number...

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

683. 请问2.0射线到底如何使用呢? [ 71%]

请问2.0射线到底如何使用呢? 老api不能用,必须使用PhysicsSimulation这个类,但下面这么用一直没有东西,求指点 this.mousePos=new Vector2(MouseManager.instance.mouseX, MouseManager.instance.mouseY); camera.viewportPointToRay(this.mousePos,ray); this.ps.rayCast(ra...

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

684. [LayaAirIDE3]创建场景或 prefab 的 runtime 类失败,有报错。 [ 71%]

...RT 类没有自动挂到prefab上。报错如下: TypeError: Cannot read properties of undefined (reading 'scriptPath') at /D:/LayaAirIDE/resources/app.asar/sceneEditor.js:2   附件 : --> LayaTestRT.zip 2024-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

685. 单选框组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 71%]

单选框组件(Radio)一、通过LayaAir IDE创建Radio组件1.1 创建Radio1.2 Radio属性1.3 脚本控制Radio二、通过代码创建Radio组件单选框组件(Radio) Radio继承自Button,它的很多属性也继承自Button,所以前面Button中介绍过的这里就不再过多讲...

来源: Laya3.0_文档 发布时间: 20251010

686. 加载.lh文件报错 [ 71%]

加载.lh文件报错 Uncaught TypeError: Cannot read property 'props' of undefined at Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15158) at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:15252) at EventHandler.__proto.runWith (laya.core.js:1126) at Loader.__proto.event (laya.core.js...

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

687. ios上使用Promise加载sprite报错 [ 71%]

ios上使用Promise加载sprite报错 hi:     我这边在测试引擎基本功能,发现在使用 Promise加载图片时出现问题:网页 和 Android版本正常,iOS报错js脚本错误。 其中环境如下:     LayaAir IDE 1.7.10 beta tsconfig.json设置: iOS报错截图: 因...

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

688. parameter 2 is not of type 'WebGLTexture' [ 71%]

parameter 2 is not of type 'WebGLTexture'   var htmlC:HTMLCanvas = btn_edit.drawToCanvas(btn_edit.width, btn_edit.height, 0, 0); var interceptT:Texture = new Texture(htmlC); var img:Sprite = new Sprite; img.graphics.drawImage(interceptT, 0, 0, btn_edit.width, btn_edit.height); Laya.stage.addChild(...

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

689. laya.d3.renderobjs.nativeobj.NativeBounds_API3.0 [ 71%]

...ds Hierarchy NativeBounds Implements IClone Index Constructors constructor Properties MemoryBlock_size Accessors max min Methods _getBoundBox calculateBoundsintersection clone cloneTo getCenter getExtent getMax getMin setCenter setExtent setMax setMin Constructors constructor new NativeBounds(min?: ...

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

690. Laya IDE中怎么使用matter,js? [ 71%]

Laya IDE中怎么使用matter,js? Laya IDE中怎么使用matter.js?比如matter.js需要手工加入吗?直接copy官方示例,设置好图片资源路径,提示Engine dont defined,为什么? 2017-05-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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