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

Inheritance: DrawableBase
Afficher le fichier Open project: artwallace/PsmFramework

Méthodes publiques

Свойство Type Description
DefaultRotation Angle2

Protected Properties

Свойство Type Description
DefaultPosition Coordinate2
Shader PsmFramework.Engines.DrawEngine2d.Shaders.SpriteShader

Méthodes publiques

Méthode Description
SetColorsToDefault ( ) : void
SpriteDrawableBase ( LayerBase layer ) : System

Méthodes protégées

Méthode Description
AdjustPosition ( System.Single horizontal, System.Single vertical ) : void
AdjustRotation ( Angle2 angle ) : void
CleanupIntermediary ( ) : void
InitializeIntermediary ( ) : void
SetDimensions ( ) : void
SetDimensionsByScale ( System.Single scale ) : void
SetDimensionsProportionallyByHeight ( System.Single height ) : void
SetDimensionsProportionallyByWidth ( System.Single width ) : void
SetNaturalDimensions ( System.Single width, System.Single height ) : 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

Private Methods

Méthode Description
CleanupColors ( ) : void
CleanupDimensions ( ) : void
CleanupPosition ( ) : void
CleanupRotation ( ) : void
CleanupShaderProgram ( ) : void
InitializeColors ( ) : void
InitializeDimensions ( ) : void
InitializePosition ( ) : void
InitializeRotation ( ) : void
InitializeShaderProgram ( ) : void

Method Details

AdjustPosition() protected méthode

protected AdjustPosition ( System.Single horizontal, System.Single vertical ) : void
horizontal System.Single
vertical System.Single
Résultat void

AdjustRotation() protected méthode

protected AdjustRotation ( Angle2 angle ) : void
angle Angle2
Résultat void

CleanupIntermediary() protected méthode

protected CleanupIntermediary ( ) : void
Résultat void

InitializeIntermediary() protected méthode

protected InitializeIntermediary ( ) : void
Résultat void

SetColorsToDefault() public méthode

public SetColorsToDefault ( ) : void
Résultat void

SetDimensions() protected méthode

protected SetDimensions ( ) : void
Résultat void

SetDimensionsByScale() protected méthode

protected SetDimensionsByScale ( System.Single scale ) : void
scale System.Single
Résultat void

SetDimensionsProportionallyByHeight() protected méthode

protected SetDimensionsProportionallyByHeight ( System.Single height ) : void
height System.Single
Résultat void

SetDimensionsProportionallyByWidth() protected méthode

protected SetDimensionsProportionallyByWidth ( System.Single width ) : void
width System.Single
Résultat void

SetNaturalDimensions() protected méthode

protected SetNaturalDimensions ( System.Single width, System.Single height ) : void
width System.Single
height System.Single
Résultat void

SetPosition() protected méthode

protected SetPosition ( Coordinate2 position, RelativePosition relativeTo = RelativePosition.Center ) : void
position Coordinate2
relativeTo RelativePosition
Résultat void

SetPosition() protected méthode

protected SetPosition ( System.Single x, System.Single y, RelativePosition relativeTo = RelativePosition.Center ) : void
x System.Single
y System.Single
relativeTo RelativePosition
Résultat void

SetRotation() protected méthode

protected SetRotation ( Angle2 angle ) : void
angle Angle2
Résultat void

SpriteDrawableBase() public méthode

public SpriteDrawableBase ( LayerBase layer ) : System
layer PsmFramework.Engines.DrawEngine2d.Layers.LayerBase
Résultat System

Property Details

DefaultPosition protected_oe property

protected Coordinate2 DefaultPosition
Résultat Coordinate2

DefaultRotation public_oe property

public Angle2 DefaultRotation
Résultat Angle2

Shader protected_oe property

protected SpriteShader,PsmFramework.Engines.DrawEngine2d.Shaders Shader
Résultat PsmFramework.Engines.DrawEngine2d.Shaders.SpriteShader