C# Class FLabel, SRNormalLighting

Inheritance: FQuadNode
显示文件 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_oe property

public Action, SignalTextChange
return Action,

_alphaColor protected_oe property

protected Color, _alphaColor
return Color,

_anchorX protected_oe property

protected float _anchorX
return float

_anchorY protected_oe property

protected float _anchorY
return float

_color protected_oe property

protected Color, _color
return Color,

_doQuadsNeedUpdate protected_oe property

protected bool _doQuadsNeedUpdate
return bool

_doesLocalPositionNeedUpdate protected_oe property

protected bool _doesLocalPositionNeedUpdate
return bool

_doesTextNeedUpdate protected_oe property

protected bool _doesTextNeedUpdate
return bool

_font protected_oe property

protected FFont, _font
return FFont,

_fontName protected_oe property

protected string _fontName
return string

_isMeshDirty protected_oe property

protected bool _isMeshDirty
return bool

_letterQuadLines protected_oe property

protected FLetterQuadLine[], _letterQuadLines
return FLetterQuadLine[],

_shouldSnapToPixels protected_oe property

protected bool _shouldSnapToPixels
return bool

_text protected_oe property

protected string _text
return string

_textParams protected_oe property

protected FTextParams, _textParams
return FTextParams,

_textRect protected_oe property

protected Rect, _textRect
return Rect,

defaultAnchorX public_oe static_oe property

public static float defaultAnchorX
return float

defaultAnchorY public_oe static_oe property

public static float defaultAnchorY
return float