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 ///
파일 보기 프로젝트 열기: Thraka/SadConsole

공개 메소드들

메소드 설명
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