Example #1
0
 public static void PostProcess()
 {
     JETexture.PostProcess();
     JEShader.PostProcess();
     JEMaterial.PostProcess();
     JELightmap.PostProcess();
     JEMesh.PostProcess();
 }
Example #2
0
 public static void Reset()
 {
     JEMesh.Reset();
     JEMaterial.Reset();
     JETexture.Reset();
     JEShader.Reset();
     JELightmap.Reset();
 }
Example #3
0
        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]));
            }
        }
Example #4
0
 public static void Process()
 {
     JETexture.Process();
     JEShader.Process();
     JEMaterial.Process();
     JELightmap.Process();
     JEMesh.Process();
     JESprite.Process();
     JEParticle.Process();
 }
Example #5
0
        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]));
            }
        }
Example #6
0
        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);
        }