메소드 | 설명 | |
---|---|---|
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, | |
리턴 | bool |
public static CopySkin ( |
||
source |
/// A |
|
리턴 |
public static GUIToWorldPosition ( Vector2 v ) : Vector3 | ||
v | Vector2 | |
리턴 | Vector3 |
public static GetFontSizeFromName ( Font f ) : int | ||
f | Font |
/// A |
리턴 | int |
public static MouseToGUIPosition ( Vector3 v ) : Vector3 | ||
v | Vector3 |
/// A |
리턴 | Vector3 |
public static OnePixelInWorld ( Camera camera, float depth ) : float | ||
camera | Camera |
/// A |
depth | float |
/// A |
리턴 | float |
public static WorldToGUIPosition ( Vector3 v ) : Vector2 | ||
v | Vector3 | |
리턴 | Vector2 |