大约有 120 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0036 秒)
...Forward(new Laya.Vector3(1, -1, 0)); //添加自定义模型 var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Lay...
来源: Laya2.0_文档 发布时间: 20210714
MeshSprite3D如何用缓动变化 透明度alpha值? 2018-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 AILHC 赞同来自: 可以的,可以去修改材质球,参考我的缓动扩展 github: https...
来源: Laya_社区 发布时间: 20180327
...不过高度很小,可看成一个平面 var plane = scene.addChild(new MeshSprite3D(new BoxMesh(4,4,0.001))) as MeshSprite3D; var material = new StandardMaterial(); material.albedo = new Vector4(1.3, 1.3, 1.3, 1); material.diffuseTexture = Texture2D.load("res/bg.png"); plane.meshRender.material =...
来源: Laya_社区 发布时间: 20170314
... //平面加载 let plane = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))); let planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(null, function (...
来源: Laya_社区 发布时间: 20191009
...d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainMeshSprite3D 类用于创建网格。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active...
来源: Laya2.0_api 发布时间: 20190513
...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
...Extensions Extras Methods RegisterExtra UnRegisterExtra _createMesh _createMeshSprite3D _createSceneNode _createSkinnedMeshSprite3D _createSprite3D _createdefaultMaterial applyPBRMetallicRoughness applyTransform calSkinnedSpriteLocalBounds getAccessorComponentsNum getAnimationRoot getAttributeNum ge...
来源: Laya3.0_api 发布时间: 20231102
... //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(2, 2, 2))); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D...
来源: Laya_社区 发布时间: 20180427
...还在审核中,现在只支持unity中的地形导出使用。 总之,MeshSprite3D暂时不能使用TerrainMaterial 2017-06-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ebaww 相关问题 加载到舞台的3D模型不显示贴...
来源: Laya_社区 发布时间: 20170620
... //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(2, 2, 2))); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D...
来源: Laya_社区 发布时间: 20180427