Method | Description | |
---|---|---|
CompareAnchor ( GUIAnchor, a, GUIAnchor, b ) : bool | ||
CopySkin ( |
Return a copy of source skin
|
|
GUIToWorldPosition ( Vector2 v ) : Vector3 | ||
GetFontSizeFromName ( Font f ) : int |
Get the size of a font, assuming it is indicated at the end of the font's name (e.g., Font - 32)
|
|
MouseToGUIPosition ( Vector3 v ) : Vector3 |
Remaps GUI to mouse position and vice versa
|
|
MouseToWorldCoord ( ) : Vector3 | ||
OnePixelInWorld ( Camera camera, float depth ) : float |
Returns the height of one pixel at depth in frustum as world space distance
|
|
WorldToGUIPosition ( Vector3 v ) : Vector2 |
public static CompareAnchor ( GUIAnchor, a, GUIAnchor, b ) : bool | ||
a | GUIAnchor, | |
b | GUIAnchor, | |
return | bool |
public static CopySkin ( |
||
source |
/// A |
|
return |
public static GUIToWorldPosition ( Vector2 v ) : Vector3 | ||
v | Vector2 | |
return | Vector3 |
public static GetFontSizeFromName ( Font f ) : int | ||
f | Font |
/// A |
return | int |
public static MouseToGUIPosition ( Vector3 v ) : Vector3 | ||
v | Vector3 |
/// A |
return | Vector3 |
public static MouseToWorldCoord ( ) : Vector3 | ||
return | Vector3 |
public static OnePixelInWorld ( Camera camera, float depth ) : float | ||
camera | Camera |
/// A |
depth | float |
/// A |
return | float |
public static WorldToGUIPosition ( Vector3 v ) : Vector2 | ||
v | Vector3 | |
return | Vector2 |