public override void imethod_0(Interface8 reader) { for (int index = 0; index < 5; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "ambient factor": this.double_0 = reader.imethod_8(); break; case "diffuse factor": this.double_1 = reader.imethod_8(); break; case "specular factor": this.double_3 = reader.imethod_8(); break; case "exponent": this.double_2 = reader.imethod_8(); break; case "specular color": this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 3; ++index) { reader.ReadString(); switch (reader.imethod_5()) { case -5: this.vector3D_1.X = reader.imethod_8(); this.vector3D_1.Y = reader.imethod_8(); this.vector3D_1.Z = reader.imethod_8(); break; case -4: this.vector3D_0.X = reader.imethod_8(); this.vector3D_0.Y = reader.imethod_8(); this.vector3D_0.Z = reader.imethod_8(); break; case -2: this.double_0 = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 5; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "ambient factor": this.double_0 = reader.imethod_8(); break; case "diffuse factor": this.double_1 = reader.imethod_8(); break; case "specular factor": this.double_2 = reader.imethod_8(); break; case "mirror factor": this.double_3 = reader.imethod_8(); break; case "roughness": this.double_4 = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 3; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "size": this.double_0 = reader.imethod_8(); break; case "odd color": this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); break; case "even color": this.point3D_1.X = reader.imethod_8(); this.point3D_1.Y = reader.imethod_8(); this.point3D_1.Z = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { reader.ReadString(); reader.imethod_5(); this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); }
internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); this.int_2 = reader.imethod_11(Class144.string_4); this.int_3 = reader.imethod_11(Class144.string_5); this.int_4 = reader.imethod_11(Class144.string_7); if (reader.FileFormatVersion >= Class250.int_59) { this.int_5 = reader.imethod_11(Class144.string_6); } this.string_3 = reader.ReadString(); }
public static Class601 smethod_0(Interface8 reader) { string key = reader.ReadString(); Class601.Delegate15 delegate15; if (!Class601.dictionary_0.TryGetValue(key, out delegate15)) { throw new Exception0("Not supported blend support curve type : " + key); } Class601 class601 = delegate15(); class601.imethod_0(reader); return(class601); }
public static Class648 smethod_0(Interface8 reader) { string key = reader.ReadString(); Class648.Delegate17 delegate17; if (!Class648.dictionary_0.TryGetValue(key, out delegate17)) { throw new Exception0("Not supported Law data type : " + key); } Class648 class648 = delegate17(); class648.imethod_0(reader); return(class648); }
public static Class69 smethod_0(Interface8 reader) { string key = reader.ReadString(); Class69.Delegate1 delegate1; if (!Class69.dictionary_0.TryGetValue(key, out delegate1)) { throw new Exception0("Not supported shader type : " + key); } Class69 class69 = delegate1(); class69.imethod_0(reader); return(class69); }
public virtual void imethod_0(Interface8 reader) { this.string_0 = reader.ReadString(); if (this.string_0 == "null_law") { return; } int length = reader.imethod_5(); this.class648_0 = new Class648[length]; for (int index = 0; index < length; ++index) { this.class648_0[index] = Class648.smethod_0(reader); } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 8; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "intensity": this.double_0 = reader.imethod_8(); break; case "color": this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); break; case "location": this.point3D_1.X = reader.imethod_8(); this.point3D_1.Y = reader.imethod_8(); this.point3D_1.Z = reader.imethod_8(); break; case "to": this.point3D_2.X = reader.imethod_8(); this.point3D_2.Y = reader.imethod_8(); this.point3D_2.Z = reader.imethod_8(); break; case "shadows": this.int_0 = reader.imethod_5(); break; case "shadow resolution": this.int_1 = reader.imethod_5(); break; case "shadow quality": this.int_2 = reader.imethod_5(); break; case "shadow softness": this.double_1 = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 6; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "scale": this.double_0 = reader.imethod_8(); break; case "light wood color": this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); break; case "dark wood color": this.point3D_1.X = reader.imethod_8(); this.point3D_1.Y = reader.imethod_8(); this.point3D_1.Z = reader.imethod_8(); break; case "point on axis": this.point3D_2.X = reader.imethod_8(); this.point3D_2.Y = reader.imethod_8(); this.point3D_2.Z = reader.imethod_8(); break; case "axis direction": this.point3D_3.X = reader.imethod_8(); this.point3D_3.Y = reader.imethod_8(); this.point3D_3.Z = reader.imethod_8(); break; case "noise": this.double_1 = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 7; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "scale": this.double_0 = reader.imethod_8(); break; case "detail": this.int_0 = reader.imethod_5(); break; case "ground color": this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); break; case "vein color": this.point3D_1.X = reader.imethod_8(); this.point3D_1.Y = reader.imethod_8(); this.point3D_1.Z = reader.imethod_8(); break; case "vein contrast": this.double_1 = reader.imethod_8(); break; case "grain": this.double_2 = reader.imethod_8(); break; case "grain scale": this.double_3 = reader.imethod_8(); break; } } }
internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class102_0 = (Class102)entity)); this.double_0 = reader.FileFormatVersion < Class250.int_1 || reader.FileFormatVersion >= Class250.int_47 ? reader.imethod_8() : 0.0; reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class102_1 = (Class102)entity)); this.double_1 = reader.FileFormatVersion < Class250.int_1 || reader.FileFormatVersion >= Class250.int_47 ? reader.imethod_8() : 1.0; int index1 = reader.imethod_7(); if (index1 < 0) { this.class107_0 = (Class107)null; } else { this.class107_0 = (Class107)reader[index1]; if (this.class107_0 == null) { reader.imethod_0(index1, (Delegate10)(entity => this.class107_0 = (Class107)entity)); } } int index2 = reader.imethod_7(); if (index2 < 0) { this.class81_0 = (Class81)null; } else { this.class81_0 = (Class81)reader[index2]; if (this.class81_0 == null) { reader.imethod_0(index2, (Delegate10)(entity => this.class81_0 = (Class81)entity)); } } this.class690_0 = new Class686.Class690(reader); if (reader.FileFormatVersion < Class250.int_47) { return; } this.string_1 = reader.ReadString(); }
internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); this.string_1 = reader.ReadString(); }
internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); if (Class250.int_21 <= reader.FileFormatVersion) { string str; while (true) { str = reader.ReadString().TrimEnd(' '); switch (str) { case "end_fields": goto label_21; case "END_FIELDS": goto label_1; case "gridar": case "GRIDAR": this.double_3 = reader.imethod_8(); continue; case "grad": case "GRAD": this.int_6 = reader.imethod_5(); continue; case "grid": case "GRID": this.int_2 = reader.imethod_5(); continue; case "tri": case "TRI": this.int_3 = reader.imethod_5(); continue; case "surf": case "SURF": this.int_4 = reader.imethod_5(); continue; case "stol": case "STOL": this.double_0 = reader.imethod_8(); continue; case "adj": case "ADJ": this.int_5 = reader.imethod_5(); continue; case "postcheck": case "POSTCHECK": this.int_7 = reader.imethod_5(); continue; case "pixarea": case "PIXAREA": this.double_6 = reader.imethod_8(); continue; case "ntol": case "NTOL": this.double_1 = reader.imethod_8(); continue; case "hmax": case "HMAX": this.double_2 = reader.imethod_8(); continue; case "mgrid": case "MGRID": this.int_8 = reader.imethod_5(); continue; case "ugrid": case "UGRID": this.int_9 = reader.imethod_5(); continue; case "vgrid": case "VGRID": this.int_10 = reader.imethod_5(); continue; case "dsil": case "DSIL": this.double_4 = reader.imethod_8(); continue; case "flatness": case "FLATNESS": this.double_5 = reader.imethod_8(); continue; case "calc": case "CALC": this.int_11 = reader.imethod_5(); continue; case "conv": case "CONV": this.int_12 = reader.imethod_5(); continue; default: goto label_22; } } label_21: return; label_1: return; label_22: throw new Exception0("SatRefinement invalid field : " + str); } this.int_13 = reader.imethod_5(); this.int_14 = reader.imethod_5(); this.double_5 = reader.imethod_8(); this.double_4 = reader.imethod_8(); this.double_0 = reader.imethod_8(); this.double_1 = reader.imethod_8(); this.double_6 = reader.imethod_8(); this.double_7 = reader.imethod_8(); this.int_15 = reader.imethod_5(); }