//********************************** Banshee Engine (www.banshee3d.com) **************************************************// //**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************// namespace bs.Editor { /// /// Contains info about the range of values a field can store. /// public sealed class InspectableFieldRangeStyle : InspectableFieldStyle { public InspectableFieldRangeStyle(float min, float max, bool slider) { this.Max = max; this.Min = min; this.Slider = slider; } /// /// The maximum value the field can be assigned. /// public float Max { get; set; } /// /// The minimum value the field can be assigned. /// public float Min { get; set; } /// /// Whether the field is rendered as a slider. /// public bool Slider { get; set; } } }