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

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

81. laya.d3.core.MeshTerrainSprite3D [ 84%]

...d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object TerrainMeshSprite3D 类用于创建网格。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefi...

来源: laya_api 发布时间: 20170929

82. 高级应用-渲染纹理 [ 84%]

... }); })); } function setMaterials(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite = spirit3D; for (var i = 0; i < meshSprite.meshRender.sharedMaterials.length; i++) { var mat = meshSprite.meshRender.sharedMaterials[i]; mat.disableLight(); } } for (var i = 0; i < spirit3D._chi...

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

83. 自定义shader-简单shader [ 84%]

...a.addComponent(CameraMoveScript); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Lay...

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

84. 基于Cannon.js的物理系统(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 83%]

...rayCast、rayCastAll。 **在LayaAir中使用Cannon.js** - 1.创建盒型MeshSprite3D ```typescript var box: MeshSprite3D = this.scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(sX, sY, sZ))) as MeshSprite3D; ``` - 2.为精灵添加CannonRigidbody3D组件 ```typescript var rigidBody: CannonRi...

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

85. Laya.BoxMesh找不到 [ 83%]

...相关的链接 提交 1 个回复 180*****998 赞同来自: var box:Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1)))as Laya.MeshSprite3D; 现在好像变了 要这么创建了 2019-05-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...

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

86. PBR标准材质实时阴影渲染问题 [ 83%]

...w'); receiveShadowgroup._children.forEach(_model =&gt; { //(_model as Laya.MeshSprite3D).meshRenderer.castShadow = true; (_model as Laya.MeshSprite3D).meshRenderer.receiveShadow = true; }); castShadowgroup._children.forEach(_model =&gt; { (_model as Laya.MeshSprite3D).meshRenderer.castShadow = true;...

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

87. 3D中如何限制角色的行走区域? [ 82%]

...子父级节点寻找可行走区域网格模型               var meshSprite3D:MeshSprite3D = sceneSprite3d.getChildAt(0).getChildAt(0).getChildAt(13) as MeshSprite3D;               var texture:Texture2D = Loader.getRes("res/heightMap.png") as Texture2D;               //通过...

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

88. timer无法执行 [ 82%]

...中降落的球 //var random: number = Math.random()*24-7; let ball: Laya.MeshSprite3D = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(1)); this.scene1.addChild(ball);   ball.transform.position = new Laya.Vector3((Math.random() - 0.5) * 2, 10, 17); //添加刚体   ball.addComponent(Laya.P...

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

89. 请问3D中能不能显示2D的图集动画 [ 82%]

...片所示,有2D的图集动画,但是需要加在3D环境中的  Laya.MeshSprite3D 上进行显示,当Laya.MeshSprite3D 在3D环境中运动时,图集动画 也要随着一起移动。 请问有没有什么方案可以实现? 比如 Laya.MeshSprite3D 上面加一个容器,然后在这...

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

90. PBRStandardMaterial材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 82%]

...sTexture_Alpha; var barrel = scene.getChildByName("Wooden_Barrel") as Laya.MeshSprite3D; var barrel1 = scene.getChildByName("Wooden_Barrel (1)") as Laya.MeshSprite3D; var barrel2 = scene.getChildByName("Wooden_Barrel (2)") as Laya.MeshSprite3D; var barrel3 = scene.getChildByName("Wooden_Barrel (3)")...

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