C# 클래스 geek.GameEngine.Utils.Timeline

A class that can execute events at given points of time.
파일 보기 프로젝트 열기: impworks/xna.geek.engine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsLooped bool
Paused bool

공개 메소드들

메소드 설명
Add ( float time, System.Action action, string comment = null ) : int

Add a keyframe to the list.

AddAbsolute ( float time, System.Action action, string comment = null ) : int
Remove ( int id ) : void

Remove a keyframe by it's ID.

Timeline ( ) : System
Update ( ) : void

Update the timeline and execute current action.

비공개 메소드들

메소드 설명
clearSkipped ( ) : void
shiftCurrent ( ) : void

메소드 상세

Add() 공개 메소드

Add a keyframe to the list.
public Add ( float time, System.Action action, string comment = null ) : int
time float Desired time.
action System.Action Desired action.
comment string Optional debugging comment.
리턴 int

AddAbsolute() 공개 메소드

public AddAbsolute ( float time, System.Action action, string comment = null ) : int
time float
action System.Action
comment string
리턴 int

Remove() 공개 메소드

Remove a keyframe by it's ID.
public Remove ( int id ) : void
id int Keyframe's unique ID in the timeline returned by 'Add' method.
리턴 void

Timeline() 공개 메소드

public Timeline ( ) : System
리턴 System

Update() 공개 메소드

Update the timeline and execute current action.
public Update ( ) : void
리턴 void

프로퍼티 상세

IsLooped 공개적으로 프로퍼티

Gets or sets the looping flag.
public bool IsLooped
리턴 bool

Paused 공개적으로 프로퍼티

Gets or sets the paused flag.
public bool Paused
리턴 bool