C# Class FSprite, FutilePrototyper

Inheritance: FFacetElementNode
ファイルを表示 Open project: wtrebella/FutilePrototyper Class Usage Examples

Public Properties

Property Type Description
defaultAnchorX float
defaultAnchorY float

Protected Properties

Property Type Description
_alphaColor Color
_anchorX float
_anchorY float
_areLocalVerticesDirty bool
_color Color
_isMeshDirty bool
_localRect Rect
_localVertices Vector2[]
_textureRect Rect

Private Properties

Property Type Description

Public Methods

Method Description
FSprite ( FAtlasElement, element ) : System
FSprite ( string elementName ) : System
GetAnchor ( ) : Vector2
GetTextureRectRelativeToContainer ( ) : Rect
HandleElementChanged ( ) : void
PopulateRenderLayer ( ) : void
Redraw ( bool shouldForceDirty, bool shouldUpdateDepth ) : void
SetAnchor ( Vector2 newAnchor ) : void
SetAnchor ( float newX, float newY ) : void
UpdateLocalVertices ( ) : void

Protected Methods

Method Description
FSprite ( ) : System

Method Details

FSprite() protected method

protected FSprite ( ) : System
return System

FSprite() public method

public FSprite ( FAtlasElement, element ) : System
element FAtlasElement,
return System

FSprite() public method

public FSprite ( string elementName ) : System
elementName string
return System

GetAnchor() public method

public GetAnchor ( ) : Vector2
return Vector2

GetTextureRectRelativeToContainer() public method

public GetTextureRectRelativeToContainer ( ) : Rect
return Rect

HandleElementChanged() public method

public HandleElementChanged ( ) : void
return void

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

UpdateLocalVertices() public method

public UpdateLocalVertices ( ) : void
return void

Property Details

_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

_areLocalVerticesDirty protected_oe property

protected bool _areLocalVerticesDirty
return bool

_color protected_oe property

protected Color _color
return Color

_isMeshDirty protected_oe property

protected bool _isMeshDirty
return bool

_localRect protected_oe property

protected Rect _localRect
return Rect

_localVertices protected_oe property

protected Vector2[] _localVertices
return Vector2[]

_textureRect protected_oe property

protected Rect _textureRect
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