C# 클래스 Nodify.Editor.RectExtensions

파일 보기 프로젝트 열기: anneomcl/LetsMake

공개 메소드들

메소드 설명
GetRectFromPoints ( Vector2 corner1, Vector2 corner2 ) : Rect
ScaleSizeBy ( this rect, Vector2 scale ) : Rect
ScaleSizeBy ( this rect, Vector2 scale, Vector2 pivotPoint ) : Rect
ScaleSizeBy ( this rect, float scale ) : Rect
ScaleSizeBy ( this rect, float scale, Vector2 pivotPoint ) : Rect
TopLeft ( this rect ) : Vector2

메소드 상세

GetRectFromPoints() 공개 정적인 메소드

public static GetRectFromPoints ( Vector2 corner1, Vector2 corner2 ) : Rect
corner1 Vector2
corner2 Vector2
리턴 UnityEngine.Rect

ScaleSizeBy() 공개 정적인 메소드

public static ScaleSizeBy ( this rect, Vector2 scale ) : Rect
rect this
scale Vector2
리턴 UnityEngine.Rect

ScaleSizeBy() 공개 정적인 메소드

public static ScaleSizeBy ( this rect, Vector2 scale, Vector2 pivotPoint ) : Rect
rect this
scale Vector2
pivotPoint Vector2
리턴 UnityEngine.Rect

ScaleSizeBy() 공개 정적인 메소드

public static ScaleSizeBy ( this rect, float scale ) : Rect
rect this
scale float
리턴 UnityEngine.Rect

ScaleSizeBy() 공개 정적인 메소드

public static ScaleSizeBy ( this rect, float scale, Vector2 pivotPoint ) : Rect
rect this
scale float
pivotPoint Vector2
리턴 UnityEngine.Rect

TopLeft() 공개 정적인 메소드

public static TopLeft ( this rect ) : Vector2
rect this
리턴 Vector2