private void SetupControls() { SelectMenu technique = TrayManager.CreateThickSelectMenu(TrayLocation.TopLeft, "TechniqueType", "Instancing Technique", 200, 3); technique.AddItem("Instancing"); technique.AddItem("Static Geometry"); technique.AddItem("Independent Entities"); SelectMenu objectType = TrayManager.CreateThickSelectMenu(TrayLocation.TopLeft, "ObjectType", "Object : ", 200, 4); objectType.AddItem("razor"); objectType.AddItem("knot"); objectType.AddItem("tudorhouse"); objectType.AddItem("woodpallet"); TrayManager.CreateThickSlider(TrayLocation.TopLeft, "ObjectCountSlider", "Object count", 200, 50, 0, 1000, 101). SetValue(160, false); TrayManager.CreateThickSlider(TrayLocation.TopLeft, "CPUOccupationSlider", "CPU Load (ms)", 200, 75, 0, 1000.0f / 60, 20); TrayManager.CreateCheckBox(TrayLocation.TopLeft, "ShadowCheckBox", "Shadows", 200); TrayManager.CreateCheckBox(TrayLocation.TopLeft, "PostEffectCheckBox", "Post Effect", 200); TrayManager.ShowCursor(); }