EditorGUIUtility
.DrawColorSwatch
Manual
Reference
Scripting
Scripting
>
Editor Classes
>
EditorGUIUtility
EditorGUIUtility
.DrawColorSwatch
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
EditorGUIUtility
All Members
Class Variables
systemCopyBuffer
whiteTexture
Class Functions
AddCursorRect
CommandEvent
DrawColorSwatch
DrawCurveSwatch
FindTexture
GetBuiltinSkin
HasObjectThumbnail
HSVToRGB
Load
LoadRequired
LookLikeControls
LookLikeInspector
ObjectContent
PingObject
QueueGameViewInputEvent
RenderGameViewCameras
RGBToHSV
Inherited Class Variables
hotControl
keyboardControl
Inherited Class Functions
GetControlID
GetStateObject
GUIToScreenPoint
QueryStateObject
RotateAroundPivot
ScaleAroundPivot
ScreenToGUIPoint
static
function
DrawColorSwatch (position :
Rect
, color :
Color
) :
void
Parameters
Name
Description
position
The rectangle to draw the color swatch within.
color
The color to draw.
Description
Draw a color swatch.