//********************************** Banshee Engine (www.banshee3d.com) **************************************************// //**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************// using BansheeEngine; namespace BansheeEditor { /** @addtogroup Inspector * @{ */ /// /// IsnpectableRangedField is a that has a Range attribute and must be rendered as a slider. /// public abstract class InspectableRangedField : InspectableField { protected InspectableFieldStyleInfo style; /// /// Creates a new inspectable ranged field GUI for the specified property. /// /// Parent Inspector this field belongs to. /// Name of the property, or some other value to set as the title. /// Full path to this property (includes name of this property and all parent properties). /// Type of property this field will be used for displaying. /// Determines how deep within the inspector nesting hierarchy is this field. Some fields may /// contain other fields, in which case you should increase this value by one. /// Parent layout that all the field elements will be added to. /// Serializable property referencing the array whose contents to display. /// Contains information about the field style public InspectableRangedField(Inspector parent, string title, string path, SerializableProperty.FieldType type, int depth, InspectableFieldLayout layout, SerializableProperty property, InspectableFieldStyleInfo style) : base(parent, title, path, type, depth, layout, property) { this.style = style; } } /** @} */ }