public static void PostProcess() { JETexture.PostProcess(); JEShader.PostProcess(); JEMaterial.PostProcess(); JELightmap.PostProcess(); JEMesh.PostProcess(); }
public static void Reset() { JEMesh.Reset(); JEMaterial.Reset(); JETexture.Reset(); JEShader.Reset(); JELightmap.Reset(); }
override public void QueryResources() { mesh = JEMesh.RegisterMesh(unityMeshFilter.sharedMesh); for (int i = 0; i < unityMeshRenderer.sharedMaterials.Length; i++) { Materials.Add(JEMaterial.RegisterMaterial(unityMeshRenderer.sharedMaterials[i])); } }
public static void Process() { JETexture.Process(); JEShader.Process(); JEMaterial.Process(); JELightmap.Process(); JEMesh.Process(); JESprite.Process(); JEParticle.Process(); }
override public void QueryResources() { mesh = JEMesh.RegisterMesh(unityMeshRenderer.sharedMesh); mesh.bones = unityMeshRenderer.bones; mesh.rootBone = unityMeshRenderer.rootBone == null ? "" : unityMeshRenderer.rootBone.gameObject.name; for (int i = 0; i < unityMeshRenderer.sharedMaterials.Length; i++) { Materials.Add(JEMaterial.RegisterMaterial(unityMeshRenderer.sharedMaterials[i])); } }
public static JSONResources GenerateJSONResources() { var json = new JSONResources(); json.textures = JETexture.GenerateJSONTextureList(); json.lightmaps = JELightmap.GenerateJSONLightmapList(); json.shaders = JEShader.GenerateJSONShaderList(); json.materials = JEMaterial.GenerateJSONMaterialList(); json.meshes = JEMesh.GenerateJSONMeshList(); return(json); }