C# 클래스 UnityEditor.ColorPicker

상속: EditorWindow
파일 보기 프로젝트 열기: randomize/VimConfig 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BrightnessField void
CreateGradientTexture UnityEngine.Texture2D
DoColorSliders void
DoColorSpaceGUI void
DoColorSwatchAndEyedropper void
DoHexField void
DoPresetsGUI void
DoTonemapping Color
DoTonemapping void
DrawColorSlider void
DrawColorSpaceBox void
DrawLabelOutsideRect void
EditableAxisLabel float
FillArea void
GetColorScale float
GetScrollWheelDeltaInRect float
GetTonemappingExposureAdjusment float
GetXAxisLabel string
GetYAxisLabel string
GetZAxisLabel string
HSVSliders void
HSVToRGB void
HSVToRGBArray void
HandleCopyPasteEvents void
InitIfNeeded void
LinearToGammaArray void
OnDisable void
OnEnable void
OnFloatFieldChanged void
OnGUI void
OnSelectionChange void
PhotographicTonemapping float
PollOSColorPicker void
PresetClickedCallback void
RGBSliders void
RGBToHSV void
RemoveFocusFromActiveTextField void
ScaleColors void
SendEvent void
SetColor void
SetHDRScaleFactor void
SetHeight void
SetMaxDisplayBrightness void
SetNormalizedColor void
Slider2D Vector2
Slider3D void
SpecialHDRBrightnessHandling void
TexturedSlider float
TonemappingControls void
Update1DSlider UnityEngine.Texture2D
swap void

공개 메소드들

메소드 설명
ColorPicker ( ) : System
GetGradientTextureWithAlpha0To1 ( ) : Texture2D
GetGradientTextureWithAlpha1To0 ( ) : Texture2D
MakeTexture ( int width, int height ) : Texture2D
OnDestroy ( ) : void
Show ( GUIView viewToUpdate, Color col ) : void
Show ( GUIView viewToUpdate, Color col, bool showAlpha, bool hdr, ColorPickerHDRConfig hdrConfig ) : void

비공개 메소드들

메소드 설명
BrightnessField ( ) : void
CreateGradientTexture ( string name, int width, int height, Color leftColor, Color rightColor ) : Texture2D
DoColorSliders ( ) : void
DoColorSpaceGUI ( ) : void
DoColorSwatchAndEyedropper ( ) : void
DoHexField ( float availableWidth ) : void
DoPresetsGUI ( ) : void
DoTonemapping ( Color col, float exposureAdjustment ) : Color
DoTonemapping ( Color colors, float exposureAdjustment, TonemappingType tonemappingType ) : void
DrawColorSlider ( Rect colorSliderRect, Vector2 constantValues ) : void
DrawColorSpaceBox ( Rect colorBoxRect, float constantValue ) : void
DrawLabelOutsideRect ( Rect position, string label, LabelLocation labelLocation ) : void
EditableAxisLabel ( Rect rect, Rect dragRect, float value, float minValue, float maxValue, GUIStyle style ) : float
FillArea ( int xSize, int ySize, Color retval, Color topLeftColor, Color rightGradient, Color downGradient ) : void
GetColorScale ( ) : float
GetScrollWheelDeltaInRect ( Rect rect ) : float
GetTonemappingExposureAdjusment ( ) : float
GetXAxisLabel ( ColorBoxMode colorBoxMode ) : string
GetYAxisLabel ( ColorBoxMode colorBoxMode ) : string
GetZAxisLabel ( ColorBoxMode colorBoxMode ) : string
HSVSliders ( ) : void
HSVToRGB ( ) : void
HSVToRGBArray ( Color colors, float scale ) : void
HandleCopyPasteEvents ( ) : void
InitIfNeeded ( ) : void
LinearToGammaArray ( Color colors ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnFloatFieldChanged ( float value ) : void
OnGUI ( ) : void
OnSelectionChange ( ) : void
PhotographicTonemapping ( float value, float exposureAdjustment ) : float
PollOSColorPicker ( ) : void
PresetClickedCallback ( int clickCount, object presetObject ) : void
RGBSliders ( ) : void
RGBToHSV ( ) : void
RemoveFocusFromActiveTextField ( ) : void
ScaleColors ( Color colors, float scale ) : void
SendEvent ( bool exitGUI ) : void
SetColor ( Color c ) : void
SetHDRScaleFactor ( float value ) : void
SetHeight ( float newHeight ) : void
SetMaxDisplayBrightness ( float brightness ) : void
SetNormalizedColor ( Color c ) : void
Slider2D ( Rect rect, Vector2 value, Vector2 maxvalue, Vector2 minvalue, GUIStyle backStyle, GUIStyle thumbStyle ) : Vector2
Slider3D ( Rect boxPos, Rect sliderPos, float &x, float &y, float &z, GUIStyle box, GUIStyle thumb2D, GUIStyle thumbHoriz ) : void
SpecialHDRBrightnessHandling ( Rect boxPos, Rect sliderPos ) : void
TexturedSlider ( Texture2D background, string text, float val, float min, float max, float displayScale, string formatString, Action onFloatFieldChanged ) : float
TonemappingControls ( ) : void
Update1DSlider ( Texture2D tex, int xSize, float const1, float const2, float &oldConst1, float &oldConst2, int idx, bool hsvSpace, float scale, float exposureValue, bool forceUpdate, TonemappingType tonemappingType ) : Texture2D
swap ( float &f1, float &f2 ) : void

메소드 상세

ColorPicker() 공개 메소드

public ColorPicker ( ) : System
리턴 System

GetGradientTextureWithAlpha0To1() 공개 정적인 메소드

public static GetGradientTextureWithAlpha0To1 ( ) : Texture2D
리턴 UnityEngine.Texture2D

GetGradientTextureWithAlpha1To0() 공개 정적인 메소드

public static GetGradientTextureWithAlpha1To0 ( ) : Texture2D
리턴 UnityEngine.Texture2D

MakeTexture() 공개 정적인 메소드

public static MakeTexture ( int width, int height ) : Texture2D
width int
height int
리턴 UnityEngine.Texture2D

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

Show() 공개 정적인 메소드

public static Show ( GUIView viewToUpdate, Color col ) : void
viewToUpdate GUIView
col Color
리턴 void

Show() 공개 정적인 메소드

public static Show ( GUIView viewToUpdate, Color col, bool showAlpha, bool hdr, ColorPickerHDRConfig hdrConfig ) : void
viewToUpdate GUIView
col Color
showAlpha bool
hdr bool
hdrConfig ColorPickerHDRConfig
리턴 void