public bool SaveCollection(String fileName, PhysicsCollection PhysicsCollection = null, UtilitiesFileType UtilitiesFileType = UtilitiesFileType.Xml, bool saveDefaults = false, bool saveCookedData = true) { if (PhysicsCollection == null) { PhysicsCollection = ExtractCollection(); } return(Utilities.SaveCollection(PhysicsCollection, fileName, UtilitiesFileType, saveDefaults, saveCookedData)); }
public bool SaveCollection(String fileName, PhysicsCollection PhysicsCollection = null, UtilitiesFileType UtilitiesFileType = UtilitiesFileType.Xml, bool saveDefaults = false, bool saveCookedData = true) { if (PhysicsCollection == null) PhysicsCollection = ExtractCollection(); return Utilities.SaveCollection(PhysicsCollection, fileName, UtilitiesFileType, saveDefaults, saveCookedData); }