C# Class UnityEngine.GUIElement

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

Méthodes publiques

Méthode Description
GetScreenRect ( [ camera ) : Rect

Returns bounding rectangle of GUIElement in screen coordinates.

HitTest ( Vector3 screenPosition, [ camera ) : bool

Is a point on screen inside the element?

Private Methods

Méthode Description
GetScreenRect ( ) : Rect
HitTest ( Vector3 screenPosition ) : bool
INTERNAL_CALL_GetScreenRect ( GUIElement self, Camera camera, Rect &value ) : void
INTERNAL_CALL_HitTest ( GUIElement self, Vector3 &screenPosition, Camera camera ) : bool

Method Details

GetScreenRect() public méthode

Returns bounding rectangle of GUIElement in screen coordinates.

public GetScreenRect ( [ camera ) : Rect
camera [
Résultat Rect

HitTest() public méthode

Is a point on screen inside the element?

public HitTest ( Vector3 screenPosition, [ camera ) : bool
screenPosition Vector3
camera [
Résultat bool