大约有 4 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0015 秒)
...3D.instantiate(dude1, this.scene, false, new Laya.Vector3(0.6, 0, 0)); var skinnedMeshSprite3d = dude2.getChildAt(0).getChildAt(0); for (var i = 0; i < skinnedMeshSprite3d.skinnedMeshRender.materials.length; i++) { var mat = skinnedMeshSprite3d.skinnedMeshRender.materials[i]; //高光贴图 mat.spec...
来源: Laya_示例 发布时间: 20241123
...a.Sprite3D; //产生阴影 (layaMonkey.getChildAt(0).getChildAt(0) as Laya.SkinnedMeshSprite3D).skinnedMeshRender.castShadow = true; var mat: Laya.StandardMaterial = (layaMonkey.getChildAt(0).getChildAt(0) as Laya.SkinnedMeshSprite3D).skinnedMeshRender.material as Laya.StandardMaterial; } } new Real...
来源: Laya_示例 发布时间: 20241123
...era; private layaMonkey:Laya.Sprite3D; private layaMonkeyMeshSprite3D:Laya.SkinnedMeshSprite3D; private _tempUnitX1:Laya.Vector3 = new Laya.Vector3(0, 0, -0.1); private _tempUnitX2:Laya.Vector3 = new Laya.Vector3(0, 0, 0.1); private _tempUnitX3:Laya.Vector3 = new Laya.Vector3(-0.1, 0, 0); private _t...
来源: Laya_示例 发布时间: 20241123
...rtexElementUsage.TEXTURECOORDINATE0 }; var uniformMap = { 'u_Bones': [Laya.SkinnedMeshSprite3D.BONES, Laya.Shader3D.PERIOD_RENDERELEMENT], 'u_CameraPos': [Laya.BaseCamera.CAMERAPOS, Laya.Shader3D.PERIOD_CAMERA], 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [La...
来源: Laya_示例 发布时间: 20241123