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

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

2501. laya.d3.core.MeshRender [ 46%]

...gelaya.d3.coreClasspublic class MeshRenderInheritanceMeshRender BaseRender EventDispatcher ObjectSubclasses SkinnedMeshRender MeshRender 类用于网格渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundingBox : BoundBox[read-on...

来源: laya_api 发布时间: 20170929

2502. laya.d3.terrain.TerrainRender [ 46%]

....terrainClasspublic class TerrainRenderInheritanceTerrainRender BaseRender EventDispatcher Object MeshRender 类用于网格渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不允...

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

2503. laya.ui.TextInput_API3.0 [ 46%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

2504. 浏览器接口 · LayaAir3.4 · 引擎文档 · LAYABOX [ 46%]

...nt, url);// 此处最好加延迟 //监听器注册 Laya.Browser.window.addEventListener("click", (event: any) => { console.log(event.type); }) Window.open() 方法、window.postMessage()方法、Window.addEventListener()方法 3.3 container 画布 LayaAir引擎里可以通过 Laya.Browser.contai...

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

2505. image在相应loaded的时候,无法正确获取高度 [ 46%]

....engine.world, this.matterBody); this.matterBody.layaSprite = this; Matter.Events.on(GameMain.instance.engine, 'beforeUpdate', (()=> { console.log("update", this.x, this.y, this.width, this.height) }).bind(this)); } 第一个打印,this.height是没有形变时候的参数,只有执行了一...

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

2506. 物理引擎-Slingshot [ 46%]

...useConstraint, ground, pyramid, ground2, pyramid2, rock, elastic]); Matter.Events.on(engine, 'afterUpdate', function() { if (mouseConstraint.mouse.button === -1 && (rock.position.x > 190 || rock.position.y 190 || rock.position.y 190 || rock.position.y < 430)) { rock = Matter.Bodies.polygon(170, 450,...

来源: Laya_示例 发布时间: 20260303

2507. as3中如何定义html中的id参数 [ 46%]

...Texture color参数无效 怎样获取浏览器地址传过来的GET参数 event自定义事件的问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 android 新版打包要求输入js或者json,而不是html路径 我应该如何处理 http 请求 once 的 回调参数,...

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

2508. 评论功能没用的吗? [ 46%]

...6 var staticMesh = Laya.Sprite3D.load("tlj/tlj.lh"); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) {       sprite.transform.position = new Laya.Vector3(0,0,-100); }); 在游戏中 调整模型的位置需要在场景加载完后进行操作! 2017-03-16 1 2 分享 微...

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

2509. 模型的功能介绍(JavaScript-3D基础(JS)-LayaAir3D之模型和网格) [ 46%]

...dex = 0; //.............按钮点击事件 监听 changeMeshButton.on(Laya.Event.CLICK, this, function(){ index++; if (index % 5 === 1 ){ //切换mesh sphere.meshFilter.sharedMesh = box; } else if (index % 5 === 2){ //切换mesh sphere.meshFilter.sharedMesh = capsule; } else if(index % 5 === 3){ //...

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

2510. 模型的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之模型和网格) [ 46%]

...dex = 0; //.............按钮点击事件 监听 changeMeshButton.on(Laya.Event.CLICK, this, function(){ index++; if (index % 5 === 1 ){ //切换mesh sphere.meshFilter.sharedMesh = box; } else if (index % 5 === 2){ //切换mesh sphere.meshFilter.sharedMesh = capsule; } else if(index % 5 === 3){ //...

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