C# 클래스 UnityEditorInternal.SpriteEditorUtility

파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
BeginLines ( Color color ) : void
ClampedRect ( Rect rect, Rect clamp, bool maintainSize ) : Rect
DrawBox ( Rect position ) : void
DrawLine ( Vector3 p1, Vector3 p2 ) : void
EndLines ( ) : void
GetPivotValue ( SpriteAlignment alignment, Vector2 customOffset ) : Vector2
RoundToInt ( Rect r ) : Rect
RoundedRect ( Rect rect ) : Rect

메소드 상세

BeginLines() 공개 정적인 메소드

public static BeginLines ( Color color ) : void
color Color
리턴 void

ClampedRect() 공개 정적인 메소드

public static ClampedRect ( Rect rect, Rect clamp, bool maintainSize ) : Rect
rect UnityEngine.Rect
clamp UnityEngine.Rect
maintainSize bool
리턴 UnityEngine.Rect

DrawBox() 공개 정적인 메소드

public static DrawBox ( Rect position ) : void
position UnityEngine.Rect
리턴 void

DrawLine() 공개 정적인 메소드

public static DrawLine ( Vector3 p1, Vector3 p2 ) : void
p1 Vector3
p2 Vector3
리턴 void

EndLines() 공개 정적인 메소드

public static EndLines ( ) : void
리턴 void

GetPivotValue() 공개 정적인 메소드

public static GetPivotValue ( SpriteAlignment alignment, Vector2 customOffset ) : Vector2
alignment SpriteAlignment
customOffset Vector2
리턴 Vector2

RoundToInt() 공개 정적인 메소드

public static RoundToInt ( Rect r ) : Rect
r UnityEngine.Rect
리턴 UnityEngine.Rect

RoundedRect() 공개 정적인 메소드

public static RoundedRect ( Rect rect ) : Rect
rect UnityEngine.Rect
리턴 UnityEngine.Rect