public YAMLNode ExportYAML() { YAMLMappingNode node = new YAMLMappingNode(); node.Add("m_Min", IsVector3 ? Min3.ExportYAML() : Min4.ExportYAML3()); node.Add("m_Max", IsVector3 ? Max3.ExportYAML() : Max4.ExportYAML3()); return(node); }
public void Read(EndianStream stream) { if (IsVector3) { Min3.Read(stream); Max3.Read(stream); } else { Min4.Read(stream); Max4.Read(stream); } }