Beispiel #1
0
 public static bool DispatchRenderToDissolveGlow(Renderer r, Material mat, int subMesh)
 {
     if (DissolveGlowManager.IsDissloveGlowMaterial(mat))
     {
         foreach (DissolveGlowManager Instance in DissolveGlowManager.InstanceList)
         {
             Instance.PushRender(r, mat, subMesh);
         }
         return(true);
     }
     return(false);
 }
Beispiel #2
0
 public static bool GabageRenderFromDissolveGlow(Renderer r, Material mat)
 {
     if (DissolveGlowManager.IsDissloveGlowMaterial(mat))
     {
         foreach (DissolveGlowManager Instance in DissolveGlowManager.InstanceList)
         {
             Instance.RemoveRender(r, mat);
         }
         return(true);
     }
     return(false);
 }
Beispiel #3
0
 public static bool DispatchMeshToDissolveGlow(Mesh m, Matrix4x4 matrix, Material mat)
 {
     if (DissolveGlowManager.IsDissloveGlowMaterial(mat))
     {
         foreach (DissolveGlowManager Instance in DissolveGlowManager.InstanceList)
         {
             Instance.PushMesh(m, matrix, mat);
         }
         return(true);
     }
     return(false);
 }