private void getDefaultGraphicsValues(string qualityName, out ClubPenguin.QualityLevel graphicsLevel, out ClubPenguin.QualityLevel lodPenguinQualityLevel, out int antiAlias, out bool cameraPost) { if (QualityLevelByConditionalTier.TryGetValue(qualityName, out graphicsLevel)) { switch (graphicsLevel) { case ClubPenguin.QualityLevel.Low: antiAlias = 0; cameraPost = false; break; case ClubPenguin.QualityLevel.Medium: antiAlias = AntiAliasSamplesMedium; cameraPost = false; break; case ClubPenguin.QualityLevel.High: antiAlias = AntiAliasSamplesHigh; cameraPost = true; break; default: antiAlias = 0; cameraPost = false; break; } lodPenguinQualityLevel = graphicsLevel; } else { graphicsLevel = ClubPenguin.QualityLevel.High; lodPenguinQualityLevel = graphicsLevel; antiAlias = AntiAliasSamplesHigh; cameraPost = true; } }
public void SetLodPenguinQualityLevel(ClubPenguin.QualityLevel level) { LodPenguinQualityLevel.SetValue(level); }