C# Class UnityEditor.ModuleUI

Inheritance: SerializedModule
Datei anzeigen Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
k_CompactFixedModuleWidth float
k_SpaceBetweenModules float
m_ModuleCurves List
m_ParticleSystemUI ParticleSystemUI

Protected Properties

Property Type Description
kSignedRange Rect
kUnsignedRange Rect
kUseSignedRange bool
m_ToolTip string

Public Methods

Method Description
AddToModuleCurves ( UnityEditor.SerializedProperty curveProp ) : void
FloatDraggable ( Rect rect, UnityEditor.SerializedProperty floatProp, float remap, float dragWidth, string formatString ) : float
FloatDraggable ( Rect rect, float floatValue, float remap, float dragWidth, string formatString ) : float
GUIBoolAsPopup ( GUIContent label, UnityEditor.SerializedProperty boolProp, string options ) : bool
GUIEnumMask ( GUIContent label, Enum enumValue ) : Enum
GUIFloat ( GUIContent guiContent, UnityEditor.SerializedProperty floatProp ) : float
GUIFloat ( GUIContent guiContent, UnityEditor.SerializedProperty floatProp, string formatString ) : float
GUIFloat ( GUIContent guiContent, float floatValue, string formatString ) : float
GUIFloat ( string label, UnityEditor.SerializedProperty floatProp ) : float
GUIInt ( GUIContent guiContent, UnityEditor.SerializedProperty intProp ) : int
GUIInt ( GUIContent guiContent, int intValue ) : int
GUIIntDraggable ( GUIContent label, UnityEditor.SerializedProperty intProp ) : int
GUIIntDraggable ( GUIContent label, int intValue ) : int
GUIIntDraggableX2 ( GUIContent mainLabel, GUIContent label1, UnityEditor.SerializedProperty intProp1, GUIContent label2, UnityEditor.SerializedProperty intProp2 ) : void
GUILayerMask ( GUIContent guiContent, UnityEditor.SerializedProperty boolProp ) : void
GUIListOfFloatObjectToggleFields ( GUIContent label, UnityEditor.SerializedProperty objectProps, UnityEditor.EditorGUI validator, GUIContent buttonTooltip, bool allowCreation ) : int
GUIMMColorPopUp ( Rect rect, UnityEditor.SerializedProperty boolProp ) : void
GUIMask ( GUIContent label, int intValue, string options ) : int
GUIMinMaxColor ( GUIContent label, SerializedMinMaxColor minMaxColor ) : void
GUIMinMaxCurve ( GUIContent label, SerializedMinMaxCurve mmCurve ) : void
GUIMinMaxCurve ( string label, SerializedMinMaxCurve mmCurve ) : void
GUIMinMaxGradient ( GUIContent label, SerializedMinMaxGradient minMaxGradient ) : void
GUIMinMaxRange ( GUIContent label, UnityEditor.SerializedProperty vec2Prop ) : void
GUIMinMaxSlider ( GUIContent label, UnityEditor.SerializedProperty vec2Prop, float a, float b ) : void
GetParticleSystemCurveEditor ( ) : ParticleSystemCurveEditor
GetXAxisScalar ( ) : float
ModuleUI ( ParticleSystemUI owner, SerializedObject o, string name, string displayName ) : System
ModuleUI ( ParticleSystemUI owner, SerializedObject o, string name, string displayName, VisibilityState initialVisibilityState ) : System

Protected Methods

Method Description
GetControlRect ( int height ) : Rect
GetParticleSystem ( ) : ParticleSystem

Private Methods

Method Description
CheckVisibilityState ( ) : void
FloatDraggable ( Rect rect, UnityEditor.SerializedProperty floatProp, float remap, float dragWidth ) : float
GUIColor ( Rect rect, UnityEditor.SerializedProperty colorProp ) : void
GUICurveField ( Rect position, UnityEditor.SerializedProperty maxCurve, UnityEditor.SerializedProperty minCurve, Color color, Rect ranges, CurveFieldMouseDownCallback mouseDownCallback ) : void
GUIGradientAsColor ( Rect rect, UnityEditor.SerializedProperty gradientProp ) : void
GetColor ( SerializedMinMaxCurve mmCurve ) : Color
GetPopupRect ( Rect position ) : Rect
ModuleUI ( ) : System

Method Details

AddToModuleCurves() public method

public AddToModuleCurves ( UnityEditor.SerializedProperty curveProp ) : void
curveProp UnityEditor.SerializedProperty
return void

FloatDraggable() public static method

public static FloatDraggable ( Rect rect, UnityEditor.SerializedProperty floatProp, float remap, float dragWidth, string formatString ) : float
rect UnityEngine.Rect
floatProp UnityEditor.SerializedProperty
remap float
dragWidth float
formatString string
return float

FloatDraggable() public static method

public static FloatDraggable ( Rect rect, float floatValue, float remap, float dragWidth, string formatString ) : float
rect UnityEngine.Rect
floatValue float
remap float
dragWidth float
formatString string
return float

GUIBoolAsPopup() public static method

public static GUIBoolAsPopup ( GUIContent label, UnityEditor.SerializedProperty boolProp, string options ) : bool
label UnityEngine.GUIContent
boolProp UnityEditor.SerializedProperty
options string
return bool

GUIEnumMask() public static method

public static GUIEnumMask ( GUIContent label, Enum enumValue ) : Enum
label UnityEngine.GUIContent
enumValue System.Enum
return System.Enum

GUIFloat() public static method

public static GUIFloat ( GUIContent guiContent, UnityEditor.SerializedProperty floatProp ) : float
guiContent UnityEngine.GUIContent
floatProp UnityEditor.SerializedProperty
return float

GUIFloat() public static method

public static GUIFloat ( GUIContent guiContent, UnityEditor.SerializedProperty floatProp, string formatString ) : float
guiContent UnityEngine.GUIContent
floatProp UnityEditor.SerializedProperty
formatString string
return float

GUIFloat() public static method

public static GUIFloat ( GUIContent guiContent, float floatValue, string formatString ) : float
guiContent UnityEngine.GUIContent
floatValue float
formatString string
return float

GUIFloat() public static method

public static GUIFloat ( string label, UnityEditor.SerializedProperty floatProp ) : float
label string
floatProp UnityEditor.SerializedProperty
return float

GUIInt() public static method

public static GUIInt ( GUIContent guiContent, UnityEditor.SerializedProperty intProp ) : int
guiContent UnityEngine.GUIContent
intProp UnityEditor.SerializedProperty
return int

GUIInt() public static method

public static GUIInt ( GUIContent guiContent, int intValue ) : int
guiContent UnityEngine.GUIContent
intValue int
return int

GUIIntDraggable() public static method

public static GUIIntDraggable ( GUIContent label, UnityEditor.SerializedProperty intProp ) : int
label UnityEngine.GUIContent
intProp UnityEditor.SerializedProperty
return int

GUIIntDraggable() public static method

public static GUIIntDraggable ( GUIContent label, int intValue ) : int
label UnityEngine.GUIContent
intValue int
return int

GUIIntDraggableX2() public static method

public static GUIIntDraggableX2 ( GUIContent mainLabel, GUIContent label1, UnityEditor.SerializedProperty intProp1, GUIContent label2, UnityEditor.SerializedProperty intProp2 ) : void
mainLabel UnityEngine.GUIContent
label1 UnityEngine.GUIContent
intProp1 UnityEditor.SerializedProperty
label2 UnityEngine.GUIContent
intProp2 UnityEditor.SerializedProperty
return void

GUILayerMask() public static method

public static GUILayerMask ( GUIContent guiContent, UnityEditor.SerializedProperty boolProp ) : void
guiContent UnityEngine.GUIContent
boolProp UnityEditor.SerializedProperty
return void

GUIListOfFloatObjectToggleFields() public method

public GUIListOfFloatObjectToggleFields ( GUIContent label, UnityEditor.SerializedProperty objectProps, UnityEditor.EditorGUI validator, GUIContent buttonTooltip, bool allowCreation ) : int
label UnityEngine.GUIContent
objectProps UnityEditor.SerializedProperty
validator UnityEditor.EditorGUI
buttonTooltip UnityEngine.GUIContent
allowCreation bool
return int

GUIMMColorPopUp() public static method

public static GUIMMColorPopUp ( Rect rect, UnityEditor.SerializedProperty boolProp ) : void
rect UnityEngine.Rect
boolProp UnityEditor.SerializedProperty
return void

GUIMask() public static method

public static GUIMask ( GUIContent label, int intValue, string options ) : int
label UnityEngine.GUIContent
intValue int
options string
return int

GUIMinMaxColor() public method

public GUIMinMaxColor ( GUIContent label, SerializedMinMaxColor minMaxColor ) : void
label UnityEngine.GUIContent
minMaxColor SerializedMinMaxColor
return void

GUIMinMaxCurve() public static method

public static GUIMinMaxCurve ( GUIContent label, SerializedMinMaxCurve mmCurve ) : void
label UnityEngine.GUIContent
mmCurve SerializedMinMaxCurve
return void

GUIMinMaxCurve() public static method

public static GUIMinMaxCurve ( string label, SerializedMinMaxCurve mmCurve ) : void
label string
mmCurve SerializedMinMaxCurve
return void

GUIMinMaxGradient() public method

public GUIMinMaxGradient ( GUIContent label, SerializedMinMaxGradient minMaxGradient ) : void
label UnityEngine.GUIContent
minMaxGradient SerializedMinMaxGradient
return void

GUIMinMaxRange() public static method

public static GUIMinMaxRange ( GUIContent label, UnityEditor.SerializedProperty vec2Prop ) : void
label UnityEngine.GUIContent
vec2Prop UnityEditor.SerializedProperty
return void

GUIMinMaxSlider() public static method

public static GUIMinMaxSlider ( GUIContent label, UnityEditor.SerializedProperty vec2Prop, float a, float b ) : void
label UnityEngine.GUIContent
vec2Prop UnityEditor.SerializedProperty
a float
b float
return void

GetControlRect() protected static method

protected static GetControlRect ( int height ) : Rect
height int
return Rect

GetParticleSystem() protected method

protected GetParticleSystem ( ) : ParticleSystem
return ParticleSystem

GetParticleSystemCurveEditor() public method

public GetParticleSystemCurveEditor ( ) : ParticleSystemCurveEditor
return ParticleSystemCurveEditor

GetXAxisScalar() public method

public GetXAxisScalar ( ) : float
return float

ModuleUI() public method

public ModuleUI ( ParticleSystemUI owner, SerializedObject o, string name, string displayName ) : System
owner ParticleSystemUI
o SerializedObject
name string
displayName string
return System

ModuleUI() public method

public ModuleUI ( ParticleSystemUI owner, SerializedObject o, string name, string displayName, VisibilityState initialVisibilityState ) : System
owner ParticleSystemUI
o SerializedObject
name string
displayName string
initialVisibilityState VisibilityState
return System

Property Details

kSignedRange protected_oe static_oe property

protected static Rect kSignedRange
return Rect

kUnsignedRange protected_oe static_oe property

protected static Rect kUnsignedRange
return Rect

kUseSignedRange protected_oe static_oe property

protected static bool kUseSignedRange
return bool

k_CompactFixedModuleWidth public_oe static_oe property

public static float k_CompactFixedModuleWidth
return float

k_SpaceBetweenModules public_oe static_oe property

public static float k_SpaceBetweenModules
return float

m_ModuleCurves public_oe property

public List m_ModuleCurves
return List

m_ParticleSystemUI public_oe property

public ParticleSystemUI m_ParticleSystemUI
return ParticleSystemUI

m_ToolTip protected_oe property

protected string m_ToolTip
return string