你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
发现
话题
全文搜索
登录
[LayaAirIDE 2.0]laya.CylinderMesh is not a constructor
Uncaught TypeError: Laya.CylinderMesh is not a constructor。
创建圆柱体失败,按官网例子来的。
项目是直接使用的3D范例项目。
没有找到相关结果
已邀请:
与内容相关的链接
提交
2 个回复
186*****197
赞同来自:
引擎版本2.0.2
186*****197
赞同来自:
找到问题了,引擎更新后文档和示例没更新。
新的方法是new Laya.PrimitiveMesh.create【加上对应体的名字】。
如圆柱是:new Laya.PrimitiveMesh.create Cylinder()
要回复问题请先
登录
发起人
186*****197
相关问题
new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor
Laya.GlowFilter is not a constructor
使用GlowFilter的时候报错: GlowFilter is not a constructor
一直报 GamePage is not a constructor 急求解决
LayaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor
聊天消息对话框中new一个HTMLDivElement 报错"Illegal constructor",请问这个该怎么处理?
new Laya.Templet() 时,说这不是一个constructor
Laya.HTMLDivElement is not a constructor
引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor
升级Laya2.2.0报Class constructor Scene cannot be invoked without 'new'解决办法
2.0版本,Particle2D is not a constructor
问题状态
最新活动:
2019-06-15 20:06
浏览:
1782
关注:
1
人
商务合作
2 个回复
186*****197
赞同来自:
186*****197
赞同来自:
新的方法是new Laya.PrimitiveMesh.create【加上对应体的名字】。
如圆柱是:new Laya.PrimitiveMesh.create Cylinder()