메소드 | 설명 | |
---|---|---|
CharacterIndex ( char @char ) : int | ||
Dispose ( ) : void | ||
Draw ( string text, Vector2 position, Vector4 color, float size, bool centeredX, bool centeredY ) : void | ||
DrawStart ( Camera camera ) : void | ||
FindCharacter ( char @char ) : |
||
Font ( IDisposableResource parent, IShader shader, ITexture2D texture, string metricsFileName, |
||
UpdateLoad ( ) : bool |
메소드 | 설명 | |
---|---|---|
draw ( string text, Vector2 textureSize, Vector2 position, Vector4 color, float size, bool centeredX, bool centeredY ) : void | ||
drawCharacter ( Vector2 position, Vector2 size, Vector2 positionUV, Vector2 sizeUV, Vector4 color ) : void | ||
init ( IShader shader, ITexture2D texture, Stream stream, string metricsFileName, |
public Draw ( string text, Vector2 position, Vector4 color, float size, bool centeredX, bool centeredY ) : void | ||
text | string | |
position | Vector2 | |
color | Vector4 | |
size | float | |
centeredX | bool | |
centeredY | bool | |
리턴 | void |
public Font ( IDisposableResource parent, IShader shader, ITexture2D texture, string metricsFileName, |
||
parent | IDisposableResource | |
shader | IShader | |
texture | ITexture2D | |
metricsFileName | string | |
loadedCallback | ||
리턴 | System |