Write() публичный Метод

public Write ( ) : void
Результат void
Пример #1
0
 public override void Write()
 {
     IndentIn();
     CommaNL();
     if (attributes != null)
     {
         attributes.Write();
     }
     CommaNL();
     Indent();       jsonWriter.Write("\"indices\": " + GlTF_Writer.accessors.IndexOf(indices) + ",\n");
     Indent();       jsonWriter.Write("\"material\": " + materialIndex + ",\n");
     Indent();       jsonWriter.Write("\"mode\": " + primitive + "\n");
     // semantics
     IndentOut();
 }
Пример #2
0
 public override void Write()
 {
     IndentIn();
     CommaNL();
     if (attributes != null)
     {
         attributes.Write();
     }
     CommaNL();
     Indent();       jsonWriter.Write("\"indices\": \"" + indices.name + "\",\n");
     Indent();       jsonWriter.Write("\"material\": \"" + materialName + "\",\n");
     Indent();       jsonWriter.Write("\"mode\": " + primitive + "\n");
     // semantics
     IndentOut();
 }