C# Class SFML.Graphics.ColorHelper

/// Functions that provides color/texture rectangle data from tile map (or other source) /// /// Fast and universal renderer of tilemaps /// /// Points to the tile in the top left corner /// /// Provides Color and Texture Source from tile map /// /// Holds spritesheet /// /// Redraws whole screen /// /// Ensures that vertex array has enough space /// /// Sets offset /// /// Transforms from world size to to tile that is under that position /// /// Redraws one tile /// /// Inserts color and texture data into vertex array /// /// Update offset (based on Target's position) and draw it ///
Afficher le fichier Open project: Thraka/SadConsole

Méthodes publiques

Méthode Description
Lerp ( Color value1, Color value2, float amount ) : Color

Performs linear interpolation of Color.

Private Methods

Méthode Description
ColorHelper ( )

Method Details

Lerp() public static méthode

Performs linear interpolation of Color.
public static Lerp ( Color value1, Color value2, float amount ) : Color
value1 Color Source .
value2 Color Destination .
amount float Interpolation factor.
Résultat Color