C# Class UnityEditorInternal.SpriteEditorUtility

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

BeginLines() public static méthode

public static BeginLines ( Color color ) : void
color Color
Résultat void

ClampedRect() public static méthode

public static ClampedRect ( Rect rect, Rect clamp, bool maintainSize ) : Rect
rect UnityEngine.Rect
clamp UnityEngine.Rect
maintainSize bool
Résultat UnityEngine.Rect

DrawBox() public static méthode

public static DrawBox ( Rect position ) : void
position UnityEngine.Rect
Résultat void

DrawLine() public static méthode

public static DrawLine ( Vector3 p1, Vector3 p2 ) : void
p1 Vector3
p2 Vector3
Résultat void

EndLines() public static méthode

public static EndLines ( ) : void
Résultat void

GetPivotValue() public static méthode

public static GetPivotValue ( SpriteAlignment alignment, Vector2 customOffset ) : Vector2
alignment SpriteAlignment
customOffset Vector2
Résultat Vector2

RoundToInt() public static méthode

public static RoundToInt ( Rect r ) : Rect
r UnityEngine.Rect
Résultat UnityEngine.Rect

RoundedRect() public static méthode

public static RoundedRect ( Rect rect ) : Rect
rect UnityEngine.Rect
Résultat UnityEngine.Rect