C# Class FLabel, SRNormalLighting

Inheritance: FQuadNode
Show file Open project: smashriot/SRNormalLighting Class Usage Examples

Public Properties

Property Type Description
SignalTextChange Action,
defaultAnchorX float
defaultAnchorY float

Protected Properties

Property Type Description
_alphaColor Color,
_anchorX float
_anchorY float
_color Color,
_doQuadsNeedUpdate bool
_doesLocalPositionNeedUpdate bool
_doesTextNeedUpdate bool
_font FFont,
_fontName string
_isMeshDirty bool
_letterQuadLines FLetterQuadLine[],
_shouldSnapToPixels bool
_text string
_textParams FTextParams,
_textRect Rect,

Private Properties

Property Type Description

Public Methods

Method Description
CreateTextQuads ( ) : void
FLabel ( string fontName, string text ) : System,
FLabel ( string fontName, string text, FTextParams, textParams ) : System,
GetAnchor ( ) : Vector2,
PopulateRenderLayer ( ) : void
Redraw ( bool shouldForceDirty, bool shouldUpdateDepth ) : void
SetAnchor ( Vector2, newAnchor ) : void
SetAnchor ( float newX, float newY ) : void
UpdateLocalPosition ( ) : void

Method Details

CreateTextQuads() public method

public CreateTextQuads ( ) : void
return void

FLabel() public method

public FLabel ( string fontName, string text ) : System,
fontName string
text string
return System,

FLabel() public method

public FLabel ( string fontName, string text, FTextParams, textParams ) : System,
fontName string
text string
textParams FTextParams,
return System,

GetAnchor() public method

public GetAnchor ( ) : Vector2,
return Vector2,

PopulateRenderLayer() public method

public PopulateRenderLayer ( ) : void
return void

Redraw() public method

public Redraw ( bool shouldForceDirty, bool shouldUpdateDepth ) : void
shouldForceDirty bool
shouldUpdateDepth bool
return void

SetAnchor() public method

public SetAnchor ( Vector2, newAnchor ) : void
newAnchor Vector2,
return void

SetAnchor() public method

public SetAnchor ( float newX, float newY ) : void
newX float
newY float
return void

UpdateLocalPosition() public method

public UpdateLocalPosition ( ) : void
return void

Property Details

SignalTextChange public property

public Action, SignalTextChange
return Action,

_alphaColor protected property

protected Color, _alphaColor
return Color,

_anchorX protected property

protected float _anchorX
return float

_anchorY protected property

protected float _anchorY
return float

_color protected property

protected Color, _color
return Color,

_doQuadsNeedUpdate protected property

protected bool _doQuadsNeedUpdate
return bool

_doesLocalPositionNeedUpdate protected property

protected bool _doesLocalPositionNeedUpdate
return bool

_doesTextNeedUpdate protected property

protected bool _doesTextNeedUpdate
return bool

_font protected property

protected FFont, _font
return FFont,

_fontName protected property

protected string _fontName
return string

_isMeshDirty protected property

protected bool _isMeshDirty
return bool

_letterQuadLines protected property

protected FLetterQuadLine[], _letterQuadLines
return FLetterQuadLine[],

_shouldSnapToPixels protected property

protected bool _shouldSnapToPixels
return bool

_text protected property

protected string _text
return string

_textParams protected property

protected FTextParams, _textParams
return FTextParams,

_textRect protected property

protected Rect, _textRect
return Rect,

defaultAnchorX public static property

public static float defaultAnchorX
return float

defaultAnchorY public static property

public static float defaultAnchorY
return float