示例#1
0
        public override void Write(AssetWriter writer)
        {
            base.Write(writer);

            SplatDatabase.Write(writer);
            DetailDatabase.Write(writer);
            Heightmap.Write(writer);
            if (HasLightmap(writer.Version))
            {
                Lightmap.Write(writer);
            }
        }
示例#2
0
 public void Write(AssetWriter writer)
 {
     Lightmap.Write(writer);
     if (HasIndirectLightmap(writer.Version))
     {
         IndirectLightmap.Write(writer);
     }
     if (HasLightInd(writer.Version))
     {
         LightInd.Write(writer);
         DirInd.Write(writer);
     }
     if (HasDirLightmap(writer.Version))
     {
         DirLightmap.Write(writer);
         ShadowMask.Write(writer);
     }
 }