C# 클래스 shader.Effect

Base class for effects
상속: Drawable
파일 보기 프로젝트 열기: SFML/SFML.Net 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( RenderTarget target, RenderStates states ) : void
SetFont ( Font font ) : void
Update ( float time, float x, float y ) : void

보호된 메소드들

메소드 설명
Effect ( string name ) : System
GetFont ( ) : Font
OnDraw ( RenderTarget target, RenderStates states ) : void
OnUpdate ( float time, float x, float y ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( RenderTarget target, RenderStates states ) : void
target RenderTarget
states SFML.Graphics.RenderStates
리턴 void

Effect() 보호된 메소드

protected Effect ( string name ) : System
name string
리턴 System

GetFont() 보호된 메소드

protected GetFont ( ) : Font
리턴 SFML.Graphics.Font

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

protected abstract OnDraw ( RenderTarget target, RenderStates states ) : void
target RenderTarget
states SFML.Graphics.RenderStates
리턴 void

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

protected abstract OnUpdate ( float time, float x, float y ) : void
time float
x float
y float
리턴 void

SetFont() 공개 정적인 메소드

public static SetFont ( Font font ) : void
font SFML.Graphics.Font
리턴 void

Update() 공개 메소드

public Update ( float time, float x, float y ) : void
time float
x float
y float
리턴 void