C# 클래스 MonoGameUi.Transition

Basisklasse für Animationstransitions von Controls.
파일 보기 프로젝트 열기: OctoAwesome/monogameui 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( Control control ) : Transition

Fertigt eine Kopie dieser Transition an, ersetzt aber das Zielcontrol.

Linear ( float position ) : float

Lineare Bewegung

Qubic ( float position ) : float

Quadratische Bewegung

Transition ( Control control, float>.Func curve, System.TimeSpan duration ) : System

Erstellt eine neue Transition für das angegebene Control.

Transition ( Control control, float>.Func curve, System.TimeSpan duration, System.TimeSpan delay ) : System

Erstellt eine neue Transition für das angegebene Control.

Update ( GameTime gameTime ) : bool

Update-Methode für die Animation.

보호된 메소드들

메소드 설명
ApplyValue ( Control control, float value ) : void

Wendet die Transition auf das Steuerelement an.

메소드 상세

ApplyValue() 보호된 추상적인 메소드

Wendet die Transition auf das Steuerelement an.
protected abstract ApplyValue ( Control control, float value ) : void
control Control Zielcontrol der Transition.
value float Wert im zeitlichen Ablauf der Transition.
리턴 void

Clone() 공개 추상적인 메소드

Fertigt eine Kopie dieser Transition an, ersetzt aber das Zielcontrol.
public abstract Clone ( Control control ) : Transition
control Control Das neue Zielcontrol.
리턴 Transition

Linear() 공개 정적인 메소드

Lineare Bewegung
public static Linear ( float position ) : float
position float Verlaufsposition im Wertebereich 0 bis 1
리턴 float

Qubic() 공개 정적인 메소드

Quadratische Bewegung
public static Qubic ( float position ) : float
position float Verlaufsposition im Wertebereich 0 bis 1
리턴 float

Transition() 공개 메소드

Erstellt eine neue Transition für das angegebene Control.
public Transition ( Control control, float>.Func curve, System.TimeSpan duration ) : System
control Control Zielcontrol.
curve float>.Func Bewegungskurve.
duration System.TimeSpan Animationslänge.
리턴 System

Transition() 공개 메소드

Erstellt eine neue Transition für das angegebene Control.
public Transition ( Control control, float>.Func curve, System.TimeSpan duration, System.TimeSpan delay ) : System
control Control Zielcontrol.
curve float>.Func Bewegungskurve.
duration System.TimeSpan Animationslänge.
delay System.TimeSpan Wartezeit bis zum Start der Animation.
리턴 System

Update() 공개 메소드

Update-Methode für die Animation.
public Update ( GameTime gameTime ) : bool
gameTime Microsoft.Xna.Framework.GameTime
리턴 bool