C# Class PsmFramework.Engines.DrawEngine2d.Drawables.Sprite

Inheritance: SpriteDrawableBase
Exibir arquivo Open project: artwallace/PsmFramework Class Usage Examples

Private Properties

Property Type Description
CleanupMatrices void
CleanupTiledTextureIndex void
GenerateModelMatrix void
GenerateWorldViewProjectionMatrix Matrix4
InitializeCustom void
InitializeMatrices void
InitializeTiledTextureIndex void
RegisterAsUserOfTiledTexture void
SetNaturalDimensionsFromTile void
SetTiledTexture void
UnregisterAsUserOfTiledTexture void

Public Methods

Method Description
AdjustPosition ( System.Single horizontal, System.Single vertical ) : void
AdjustRotation ( Angle2 angle ) : void
RenderHelper ( ) : void
SetDimensionsByScale ( System.Single scale ) : void
SetDimensionsProportionallyByHeight ( System.Single height ) : void
SetDimensionsProportionallyByWidth ( System.Single width ) : void
SetPosition ( Coordinate2 position, RelativePosition relativeTo = RelativePosition.Center ) : void
SetPosition ( System.Single x, System.Single y, RelativePosition relativeTo = RelativePosition.Center ) : void
SetRotation ( Angle2 angle ) : void
Sprite ( LayerBase layer, KeyBase key ) : System

Protected Methods

Method Description
Cleanup ( ) : void
Initialize ( ) : void
RecalcBounds ( ) : void
RecalcHelper ( ) : void

Private Methods

Method Description
CleanupMatrices ( ) : void
CleanupTiledTextureIndex ( ) : void
GenerateModelMatrix ( ) : void
GenerateWorldViewProjectionMatrix ( ) : Matrix4
InitializeCustom ( KeyBase key ) : void
InitializeMatrices ( ) : void
InitializeTiledTextureIndex ( ) : void
RegisterAsUserOfTiledTexture ( ) : void
SetNaturalDimensionsFromTile ( ) : void
SetTiledTexture ( KeyBase key, System.Boolean updateDimensions = true ) : void
UnregisterAsUserOfTiledTexture ( ) : void

Method Details

AdjustPosition() public method

public AdjustPosition ( System.Single horizontal, System.Single vertical ) : void
horizontal System.Single
vertical System.Single
return void

AdjustRotation() public method

public AdjustRotation ( Angle2 angle ) : void
angle Angle2
return void

Cleanup() protected method

protected Cleanup ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void

RecalcBounds() protected method

protected RecalcBounds ( ) : void
return void

RecalcHelper() protected method

protected RecalcHelper ( ) : void
return void

RenderHelper() public method

public RenderHelper ( ) : void
return void

SetDimensionsByScale() public method

public SetDimensionsByScale ( System.Single scale ) : void
scale System.Single
return void

SetDimensionsProportionallyByHeight() public method

public SetDimensionsProportionallyByHeight ( System.Single height ) : void
height System.Single
return void

SetDimensionsProportionallyByWidth() public method

public SetDimensionsProportionallyByWidth ( System.Single width ) : void
width System.Single
return void

SetPosition() public method

public SetPosition ( Coordinate2 position, RelativePosition relativeTo = RelativePosition.Center ) : void
position Coordinate2
relativeTo RelativePosition
return void

SetPosition() public method

public SetPosition ( System.Single x, System.Single y, RelativePosition relativeTo = RelativePosition.Center ) : void
x System.Single
y System.Single
relativeTo RelativePosition
return void

SetRotation() public method

public SetRotation ( Angle2 angle ) : void
angle Angle2
return void

Sprite() public method

public Sprite ( LayerBase layer, KeyBase key ) : System
layer PsmFramework.Engines.DrawEngine2d.Layers.LayerBase
key PsmFramework.Engines.DrawEngine2d.TiledTextures.KeyBase
return System