C# 클래스 FairyGUI.Utils.ToolSet

파일 보기 프로젝트 열기: fairygui/FairyGUI-unity 1 사용 예제들

공개 메소드들

메소드 설명
CharToHex ( char c ) : int
ColorFromRGB ( int value ) : Color
ColorFromRGBA ( int value ) : Color
ConvertFromHtmlColor ( string str ) : Color
FlipInnerRect ( float sourceWidth, float sourceHeight, Rect &rect, FlipType flip ) : void
FlipRect ( Rect &rect, FlipType flip ) : void
Intersection ( Rect &rect1, Rect &rect2 ) : Rect
IsPointInTriangle ( Vector2 &p, Vector2 &a, Vector2 &b, Vector2 &c ) : bool
SetParent ( Transform t, Transform parent ) : void
SkewMatrix ( Matrix4x4 &matrix, float skewX, float skewY ) : void
Union ( Rect &rect1, Rect &rect2 ) : Rect
uvLerp ( Vector2 uvSrc, Vector2 uvDest, float min, float max ) : void

메소드 상세

CharToHex() 공개 정적인 메소드

public static CharToHex ( char c ) : int
c char
리턴 int

ColorFromRGB() 공개 정적인 메소드

public static ColorFromRGB ( int value ) : Color
value int
리턴 Color

ColorFromRGBA() 공개 정적인 메소드

public static ColorFromRGBA ( int value ) : Color
value int
리턴 Color

ConvertFromHtmlColor() 공개 정적인 메소드

public static ConvertFromHtmlColor ( string str ) : Color
str string
리턴 Color

FlipInnerRect() 공개 정적인 메소드

public static FlipInnerRect ( float sourceWidth, float sourceHeight, Rect &rect, FlipType flip ) : void
sourceWidth float
sourceHeight float
rect UnityEngine.Rect
flip FlipType
리턴 void

FlipRect() 공개 정적인 메소드

public static FlipRect ( Rect &rect, FlipType flip ) : void
rect UnityEngine.Rect
flip FlipType
리턴 void

Intersection() 공개 정적인 메소드

public static Intersection ( Rect &rect1, Rect &rect2 ) : Rect
rect1 UnityEngine.Rect
rect2 UnityEngine.Rect
리턴 UnityEngine.Rect

IsPointInTriangle() 공개 정적인 메소드

public static IsPointInTriangle ( Vector2 &p, Vector2 &a, Vector2 &b, Vector2 &c ) : bool
p Vector2
a Vector2
b Vector2
c Vector2
리턴 bool

SetParent() 공개 정적인 메소드

public static SetParent ( Transform t, Transform parent ) : void
t UnityEngine.Transform
parent UnityEngine.Transform
리턴 void

SkewMatrix() 공개 정적인 메소드

public static SkewMatrix ( Matrix4x4 &matrix, float skewX, float skewY ) : void
matrix UnityEngine.Matrix4x4
skewX float
skewY float
리턴 void

Union() 공개 정적인 메소드

public static Union ( Rect &rect1, Rect &rect2 ) : Rect
rect1 UnityEngine.Rect
rect2 UnityEngine.Rect
리턴 UnityEngine.Rect

uvLerp() 공개 정적인 메소드

public static uvLerp ( Vector2 uvSrc, Vector2 uvDest, float min, float max ) : void
uvSrc Vector2
uvDest Vector2
min float
max float
리턴 void