Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
VehiclePhysics.EditorTools.AbsDrawer Class Reference
Inheritance diagram for VehiclePhysics.EditorTools.AbsDrawer:
VehiclePhysics.EditorTools.VPPropertyDrawer

Public Member Functions

override void DrawGUI (Rect position, SerializedProperty property, GUIContent label)
 
- Public Member Functions inherited from VehiclePhysics.EditorTools.VPPropertyDrawer
void Begin (Rect position, SerializedProperty property, GUIContent label)
 
void BeginInline (Rect position, SerializedProperty property, GUIContent label, float labelWidth=50.0f)
 
void DrawCaptionLabel (string label, string hint=null)
 
void DrawCombinedProperty (SerializedProperty property, float widthRatio, string propertyName1, string propertyName2, string label, string hint)
 
void DrawCombinedPropertyInline (SerializedProperty property, float widthRatio, float separation, string propertyName1, string propertyName2)
 
void DrawCombinedPropertyInline (SerializedProperty property, float widthRatio1, float widthRatio2, float separation, string propertyName1, string propertyName2, string propertyName3)
 
void DrawHeader (string label, string hint=null)
 
void DrawHelpBox (string message, MessageType type)
 
void DrawInfoLabel (string label, string text, string hint=null)
 
void DrawLabel (string label, string hint=null)
 
string DrawMinMaxSlider (SerializedProperty property, string propertyNameMin, string propertyNameMax, float min, float max, string label=null, string hint=null, string valueFormat="0.00")
 
int DrawPopupField (string label, int selectedIndex, string[] displayedOptions)
 
SerializedProperty DrawProperty (SerializedProperty property, string propertyName, string label=null, string hint=null)
 
void End ()
 
void EndInline ()
 
Rect GetControlRect (float height)
 
Rect GetControlRect ()
 
Rect GetControlRectInline (float height)
 
Rect GetControlRectInline ()
 
override float GetPropertyHeight (SerializedProperty property, GUIContent label)
 
override void OnGUI (Rect position, SerializedProperty property, GUIContent label)
 
void SetMinLabelWidth (float minLabelWidth=0.0f, float labelWidthRatio=0.4f)
 
void Space (float height)
 

Additional Inherited Members

- Public Types inherited from VehiclePhysics.EditorTools.VPPropertyDrawer
enum  Mode { Mode.Draw, Mode.GetHeight }
 
- Public Attributes inherited from VehiclePhysics.EditorTools.VPPropertyDrawer
float combinedPropertySeparation = 4
 
int controlSpacing = 2
 
- Properties inherited from VehiclePhysics.EditorTools.VPPropertyDrawer
Mode mode [get, set]
 

Member Function Documentation

override void VehiclePhysics.EditorTools.AbsDrawer.DrawGUI ( Rect  position,
SerializedProperty  property,
GUIContent  label 
)
inlinevirtual

The documentation for this class was generated from the following file: