C# Class SFML.Graphics.Transformable

Decomposed transform defined by a position, a rotation and a scale
A note on coordinates and undistorted rendering: By default, SFML (or more exactly, OpenGL) may interpolate drawable objects such as sprites or texts when rendering. While this allows transitions like slow movements or rotations to appear smoothly, it can lead to unwanted results in some cases, for example blurred or distorted objects. In order to render a SFML.Graphics.Drawable object pixel-perfectly, make sure the involved coordinates allow a 1:1 mapping of pixels in the window to texels (pixels in the texture). More specifically, this means: * The object's position, origin and scale have no fractional part * The object's and the view's rotation are a multiple of 90 degrees * The view's center and size have no fractional part
Inheritance: SFML.System.ObjectBase
Afficher le fichier Open project: SFML/SFML.Net Class Usage Examples

Méthodes publiques

Méthode Description
Transformable ( ) : System

Default constructor

Transformable ( Transformable transformable ) : System

Construct the transformable from another transformable

Méthodes protégées

Méthode Description
Destroy ( bool disposing ) : void

Handle the destruction of the object

Transformable ( IntPtr cPointer ) : System

Construct the object from its internal C pointer

Method Details

Destroy() protected méthode

Handle the destruction of the object
protected Destroy ( bool disposing ) : void
disposing bool Is the GC disposing the object, or is it an explicit call ?
Résultat void

Transformable() public méthode

Default constructor
public Transformable ( ) : System
Résultat System

Transformable() protected méthode

Construct the object from its internal C pointer
protected Transformable ( IntPtr cPointer ) : System
cPointer System.IntPtr Pointer to the object in the C library
Résultat System

Transformable() public méthode

Construct the transformable from another transformable
public Transformable ( Transformable transformable ) : System
transformable Transformable Transformable to copy
Résultat System