PropertyDrawerExtensionsDrawRangeField Method |
Draw a range field
Namespace:
DigitalRuby.WeatherMaker
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static void DrawRangeField(
this PropertyDrawer drawer,
Rect position,
SerializedProperty prop,
GUIContent label,
bool floatingPoint
)
<ExtensionAttribute>
Public Shared Sub DrawRangeField (
drawer As PropertyDrawer,
position As Rect,
prop As SerializedProperty,
label As GUIContent,
floatingPoint As Boolean
)
public:
[ExtensionAttribute]
static void DrawRangeField(
PropertyDrawer^ drawer,
Rect position,
SerializedProperty^ prop,
GUIContent^ label,
bool floatingPoint
)
[<ExtensionAttribute>]
static member DrawRangeField :
drawer : PropertyDrawer *
position : Rect *
prop : SerializedProperty *
label : GUIContent *
floatingPoint : bool -> unit
Parameters
- drawer
- Type: PropertyDrawer
Property drawer - position
- Type: Rect
Position - prop
- Type: SerializedProperty
Property - label
- Type: GUIContent
Label - floatingPoint
- Type: SystemBoolean
True for float, false for int
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PropertyDrawer. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also