![]() |
Kerbal Space Program
1.12.4
|
Public Types | |
enum | Mode { Mode.Draw, Mode.GetHeight } |
Public Member Functions | |
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) |
abstract void | DrawGUI (Rect position, SerializedProperty property, GUIContent label) |
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) |
Public Attributes | |
float | combinedPropertySeparation = 4 |
int | controlSpacing = 2 |
Properties | |
Mode | mode [get, set] |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in VehiclePhysics.EditorTools.TransmissionDrawer, VehiclePhysics.EditorTools.AngularJointMotionDrawer, VehiclePhysics.EditorTools.HeadVerticalMotionDrawer, VehiclePhysics.EditorTools.SpecificationsDrawer, VehiclePhysics.EditorTools.EngineDrawer, VehiclePhysics.EditorTools.TireFrictionDrawer, VehiclePhysics.EditorTools.RetarderDrawer, VehiclePhysics.EditorTools.ClutchDrawer, VehiclePhysics.EditorTools.GearboxDrawer, VehiclePhysics.EditorTools.ChangeDrawer, VehiclePhysics.EditorTools.CurvePointDrawer, VehiclePhysics.EditorTools.InertiaDrawer, VehiclePhysics.EditorTools.HeadHorizontalMotionDrawer, VehiclePhysics.EditorTools.JointMotionDrawer, VehiclePhysics.EditorTools.AbsDrawer, VehiclePhysics.EditorTools.AntiSpinDrawer, VehiclePhysics.EditorTools.AxleDrawer, VehiclePhysics.EditorTools.BrakesDrawer, VehiclePhysics.EditorTools.DifferentialDrawer, VehiclePhysics.EditorTools.StabilityControlDrawer, VehiclePhysics.EditorTools.SteeringAidsDrawer, VehiclePhysics.EditorTools.SteeringDrawer, and VehiclePhysics.EditorTools.TractionControlDrawer.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
float VehiclePhysics.EditorTools.VPPropertyDrawer.combinedPropertySeparation = 4 |
int VehiclePhysics.EditorTools.VPPropertyDrawer.controlSpacing = 2 |
|
getset |