C# Класс 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 ///
Показать файл Открыть проект

Открытые методы

Метод Описание
Lerp ( Color value1, Color value2, float amount ) : Color

Performs linear interpolation of Color.

Приватные методы

Метод Описание
ColorHelper ( )

Описание методов

Lerp() публичный статический Метод

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.
Результат Color