C# 클래스 Zeplin.Utilities.ExtensionMethods

Contains extension methods for C# types.
파일 보기 프로젝트 열기: zumpiez/Zeplin

공개 메소드들

메소드 설명
Add ( this value, Point addend ) : Point

Adds addition to XNA points.

Why the HELL can't you add XNA points

ApproachTargetValue ( this value, float target, float rate ) : float

Interpolates between two values at a given rate.

Subtract ( this value, Point addend ) : Point

메소드 상세

Add() 공개 정적인 메소드

Adds addition to XNA points.
Why the HELL can't you add XNA points
public static Add ( this value, Point addend ) : Point
value this
addend Point
리턴 Point

ApproachTargetValue() 공개 정적인 메소드

Interpolates between two values at a given rate.
public static ApproachTargetValue ( this value, float target, float rate ) : float
value this The value to be modified
target float Target value that will eventually be reached
rate float The amount to increment/decrement by.
리턴 float

Subtract() 공개 정적인 메소드

public static Subtract ( this value, Point addend ) : Point
value this
addend Point
리턴 Point