C# Class UnityEditor.RectTool

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

Méthodes publiques

Méthode Description
GetLocalRectPoint ( Rect rect, int index ) : Vector2
OnGUI ( SceneView view ) : void

Private Methods

Méthode Description
DistancePointToLineSegment ( Vector2 point, Vector2 a, Vector2 b ) : float
DistanceToRectangle ( Vector2 screenPoints, Vector2 mousePos ) : float
GetRectPointInWorld ( Rect rect, Vector3 pivot, Quaternion rotation, int xHandle, int yHandle ) : Vector3
MoveHandlesGUI ( Rect rect, Vector3 pivot, Quaternion rotation ) : Vector3
PivotHandleGUI ( Rect rect, Vector3 pivot, Quaternion rotation ) : Vector3

Method Details

GetLocalRectPoint() public static méthode

public static GetLocalRectPoint ( Rect rect, int index ) : Vector2
rect UnityEngine.Rect
index int
Résultat Vector2

OnGUI() public static méthode

public static OnGUI ( SceneView view ) : void
view SceneView
Résultat void