Class LODsSettingsDrawer
Inheritance
System.Object
LODsSettingsDrawer
Assembly: cs.temp.dll.dll
Syntax
public class LODsSettingsDrawer : PropertyDrawer
Fields
_LodPercentTextStyle
Declaration
public static GUIStyle _LodPercentTextStyle
Field Value
Type |
Description |
GUIStyle |
|
CULLED_COLOR
Declaration
public static readonly Color CULLED_COLOR
Field Value
CULLED_COLOR_FOCUS
Declaration
public static readonly Color CULLED_COLOR_FOCUS
Field Value
FRAME_COLOR_FOCUS
Declaration
public static readonly Color FRAME_COLOR_FOCUS
Field Value
LOD_COLORS
Declaration
public static readonly Color[] LOD_COLORS
Field Value
LOD_COLORS_FOCUS
Declaration
public static readonly Color[] LOD_COLORS_FOCUS
Field Value
Properties
LodPercentTextStyle
Declaration
public static GUIStyle LodPercentTextStyle { get; }
Property Value
Type |
Description |
GUIStyle |
|
Methods
GetLodColor(Int32, Boolean, Boolean)
Declaration
public static Color GetLodColor(int lodNbr, bool isCulled, bool isSelected)
Parameters
Type |
Name |
Description |
System.Int32 |
lodNbr |
|
System.Boolean |
isCulled |
|
System.Boolean |
isSelected |
|
Returns
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type |
Name |
Description |
Rect |
position |
|
SerializedProperty |
property |
|
GUIContent |
label |
|