Property | Type | Description | |
---|---|---|---|
mAlign | Align | ||
mColor | |||
mEmpty | bool | ||
mHeight | float | ||
mInitialized | bool | ||
mLeftMargin | float | ||
mLetterSpacing | float | ||
mLineSpacing | float | ||
mMaterial | |||
mMesh | |||
mProperty | |||
mRightMargin | float | ||
mSize | float | ||
mStyle | Style | ||
mText | string | ||
mTexture2D | |||
mVerticalAlign | VerticalAlign | ||
mWidth | float |
Method | Description | |
---|---|---|
Destruct ( ) : void | ||
GetText ( ) : string | ||
Init ( float size, float width, float height, Style style, Align align = Align.LEFT, VerticalAlign verticalAlign = VerticalAlign.TOP, float lineSpacing = 1.0f, float letterSpacing = 0.0f, float leftMargin = 0.0f, float rightMargin = 0.0f ) : void | ||
Render ( |
||
Render ( |
||
Renderer ( ) : System.Collections.Generic | ||
Renderer ( float size, float width, float height, Style style, Align align = Align.LEFT, VerticalAlign verticalAlign = VerticalAlign.TOP, float lineSpacing = 1.0f, float letterSpacing = 0.0f, float leftMargin = 0.0f, float rightMargin = 0.0f ) : System.Collections.Generic | ||
SetText ( string text, Color color ) : bool |
Method | Description | |
---|---|---|
_SystemFontRenderer_RenderTexture ( string text, float size, float width, float height, int style, int align, int verticalAlign, float lineSpacing, float letterSpacing, float leftMargin, float rightMargin, int textureId ) : void |
public Init ( float size, float width, float height, Style style, Align align = Align.LEFT, VerticalAlign verticalAlign = VerticalAlign.TOP, float lineSpacing = 1.0f, float letterSpacing = 0.0f, float leftMargin = 0.0f, float rightMargin = 0.0f ) : void | ||
size | float | |
width | float | |
height | float | |
style | Style | |
align | Align | |
verticalAlign | VerticalAlign | |
lineSpacing | float | |
letterSpacing | float | |
leftMargin | float | |
rightMargin | float | |
return | void |
public Render ( |
||
matrix | ||
multColor | Color | |
layer | int | |
camera | ||
return | void |
public Render ( |
||
matrix | ||
layer | int | |
camera | ||
return | void |
public Renderer ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public Renderer ( float size, float width, float height, Style style, Align align = Align.LEFT, VerticalAlign verticalAlign = VerticalAlign.TOP, float lineSpacing = 1.0f, float letterSpacing = 0.0f, float leftMargin = 0.0f, float rightMargin = 0.0f ) : System.Collections.Generic | ||
size | float | |
width | float | |
height | float | |
style | Style | |
align | Align | |
verticalAlign | VerticalAlign | |
lineSpacing | float | |
letterSpacing | float | |
leftMargin | float | |
rightMargin | float | |
return | System.Collections.Generic |
public SetText ( string text, Color color ) : bool | ||
text | string | |
color | Color | |
return | bool |
protected MaterialPropertyBlock,UnityEngine mProperty | ||
return |
protected Texture2D,UnityEngine mTexture2D | ||
return |