大约有 402 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0041 秒)
...entationAll Packages | All Classes | Index | Frames No Frames SkinnedMeshSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class SkinnedMeshSprite3DInheritanceSkinnedMeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object SkinnedMeshSprite3D 类...
来源: Laya2.0_api 发布时间: 20190513
...eShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; ``` 然后来看下效果。 (图1)
来源: Laya2.0_文档 发布时间: 20210715
...Laya.Vector3(0.0, 0.0, 0.0); //正方体 var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(5, 5, 5))); box.transform.position = new Laya.Vector3(0, 0, 0); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); 2018-01-26 0 0 分享 微博 QZONE 微信 dfklegend 赞同来自...
来源: Laya_社区 发布时间: 20180126
... ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个自定义材质,...
来源: Laya2.0_文档 发布时间: 20210715
...eShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 ![]...
来源: Laya2.0_文档 发布时间: 20210715
...Vector3(1, -1, -1); Laya.Stat.show(0,30) var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))); console.log(3) var boxMat = new Laya.StandardMaterial(); boxMat.diffuseTexture = Laya.Texture2D.load("https://s2.d2scdn.com/2018/1/2 ... 6quot;); box.meshRender.material = boxMa...
来源: Laya_社区 发布时间: 20180104
... ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个自定义材质,...
来源: Laya2.0_文档 发布时间: 20210715
...ite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya.StandardMaterial(); sprite3DMat.cull = Laya.BaseMaterial.CULL_NONE; var imageData = this.canvasWrapText({canvas:document.getElementById("myCanvas"), text:"helloWorld&quo...
来源: Laya_社区 发布时间: 20180814
... ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个自定义材质,...
来源: Laya2.0_文档 发布时间: 20210715
... 赞同来自: 183*****755 好了,解决了。 加载.lm模型要用Laya.MeshSprite3D(Laya.Mesh.load(path)); 动画目前看起来还是正常的。 2017-05-22 1 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 我们看下,晚些回复! 2017-05-18 0 0 分享 微博 QZONE 微信 ebaww 赞...
来源: Laya_社区 发布时间: 20170518