Property | Type | Description | |
---|---|---|---|
defaultAnchorX | float | ||
defaultAnchorY | float |
Property | Type | Description | |
---|---|---|---|
_alphaColor | Color | ||
_anchorX | float | ||
_anchorY | float | ||
_areLocalVerticesDirty | bool | ||
_color | Color | ||
_isMeshDirty | bool | ||
_localRect | Rect | ||
_localVertices | Vector2[] | ||
_textureRect | Rect |
Property | Type | Description |
---|
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 |
Method | Description | |
---|---|---|
FSprite ( ) : System |
public FSprite ( FAtlasElement, element ) : System | ||
element | FAtlasElement, | |
return | System |
public FSprite ( string elementName ) : System | ||
elementName | string | |
return | System |
public GetTextureRectRelativeToContainer ( ) : Rect | ||
return | Rect |
public Redraw ( bool shouldForceDirty, bool shouldUpdateDepth ) : void | ||
shouldForceDirty | bool | |
shouldUpdateDepth | bool | |
return | void |
public SetAnchor ( Vector2 newAnchor ) : void | ||
newAnchor | Vector2 | |
return | void |
public SetAnchor ( float newX, float newY ) : void | ||
newX | float | |
newY | float | |
return | void |