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

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

241. 微信小游戏报错 the .lh file root type must be Scene [ 87%]

微信小游戏报错 the .lh file root type must be Scene 引擎版本1.7.17beta private screen3DPath: string = "res/layaScene/xiangsuqiche.ls"; public LoadScene3D(): Laya.Scene { console.log("screen#DPath = " + this.screen3DPath); let scene: Laya.Scene = Laya.Scene.load(this.screen3DPath); Laya.s...

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

242. laya.d3.physics.shape.SphereColliderShape_API3.0 [ 87%]

...TATION_UPY SHAPEORIENTATION_UPZ Accessors localOffset localRotation radius type Methods clone cloneTo destroy updateLocalTransformations Constructors constructor new SphereColliderShape(radius?: number): SphereColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/SphereC...

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

243. laya.resource.Texture2D_API3.0 [ 87%]

...s:235 销毁资源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

244. laya.d3.physicscannon.shape.CannonSphereColliderShape_API3.0 [ 87%]

...TATION_UPY SHAPEORIENTATION_UPZ Accessors localOffset localRotation radius type Methods _setScale clone cloneTo destroy updateLocalTransformations Constructors constructor new CannonSphereColliderShape(radius?: number): CannonSphereColliderShape Overrides CannonColliderShape.constructor Defined in l...

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

245. 游戏加载进度失效 [ 87%]

...加载进度文本 var asset = [] asset[0] = { url: "res/atlas/run.json", type: Laya.Loader.ATLAS } asset[1] = { url: "res/bg.png", type: Laya.Loader.IMAGE } asset[2] = { url: "res/bg1.png", type: Laya.Loader.IMAGE } asset[3] = { url: "res/bg2.png", type: Laya.Loader.IMAGE } asset[4] = { url: "res/a...

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

246. laya.d3.physics.shape.MeshColliderShape_API3.0 [ 87%]

...N_UPY SHAPEORIENTATION_UPZ Accessors convex localOffset localRotation mesh type Methods clone cloneTo updateLocalTransformations Constructors constructor new MeshColliderShape(): MeshColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/MeshColliderShape.ts:47 创建一...

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

247. 物理系统之ConfigurableConstraint(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 87%]

...t** - 1.创建两个刚体,创建约束,为约束绑定两个刚体 ```typescript var boxA:MeshSprite3D = this.addRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSpri...

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

248. laya.d3.core.Transform3D_API3.0 [ 87%]

...:126 世界矩阵是否需要更新。 Returns boolean Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

249. 物理系统之ConfigurableConstraint(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 87%]

...t** - 1.创建两个刚体,创建约束,为约束绑定两个刚体 ```typescript var boxA:MeshSprite3D = this.addRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSpri...

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

250. laya.d3.core.render.BaseRender [ 87%]

...ited Public Methods Show Inherited Public Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

来源: Laya2.0_api 发布时间: 20190513