C# Class UnityEngine.GUIClip

ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Clip ( Rect absoluteRect ) : Rect
Clip ( Vector2 absolutePos ) : Vector2
GetAbsoluteMousePosition ( ) : Vector2
Unclip ( Rect rect ) : Rect
Unclip ( Vector2 pos ) : Vector2

Private Methods

Method Description
Clip_Vector2 ( Vector2 &absolutePos ) : void
GetMatrix ( ) : Matrix4x4
GetTopRect ( ) : Rect
INTERNAL_CALL_Clip_Vector2 ( Vector2 &absolutePos ) : void
INTERNAL_CALL_GetMatrix ( Matrix4x4 &value ) : void
INTERNAL_CALL_GetTopRect ( Rect &value ) : void
INTERNAL_CALL_Internal_Clip_Rect ( Rect &absoluteRect ) : void
INTERNAL_CALL_Push ( Rect &screenRect, Vector2 &scrollOffset, Vector2 &renderOffset, bool resetOffset ) : void
INTERNAL_CALL_SetMatrix ( Matrix4x4 &m ) : void
INTERNAL_CALL_Unclip_Rect ( Rect &rect ) : void
INTERNAL_CALL_Unclip_Vector2 ( Vector2 &pos ) : void
INTERNAL_get_topmostRect ( Rect &value ) : void
INTERNAL_get_visibleRect ( Rect &value ) : void
Internal_Clip_Rect ( Rect &absoluteRect ) : void
Internal_GetAbsoluteMousePosition ( Vector2 &output ) : void
Pop ( ) : void
Push ( Rect screenRect, Vector2 scrollOffset, Vector2 renderOffset, bool resetOffset ) : void
Reapply ( ) : void
SetMatrix ( Matrix4x4 m ) : void
Unclip_Rect ( Rect &rect ) : void
Unclip_Vector2 ( Vector2 &pos ) : void

Method Details

Clip() public static method

public static Clip ( Rect absoluteRect ) : Rect
absoluteRect Rect
return Rect

Clip() public static method

public static Clip ( Vector2 absolutePos ) : Vector2
absolutePos Vector2
return Vector2

GetAbsoluteMousePosition() public static method

public static GetAbsoluteMousePosition ( ) : Vector2
return Vector2

Unclip() public static method

public static Unclip ( Rect rect ) : Rect
rect Rect
return Rect

Unclip() public static method

public static Unclip ( Vector2 pos ) : Vector2
pos Vector2
return Vector2