C# 클래스 FlatRedBall.Gui.Button

A UI element which displays text and visually responds to pushes.
상속: Window
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
mOverlayTexture FlatRedBall.Texture2D

공개 메소드들

메소드 설명
Button ( Cursor cursor ) : System
Button ( GuiSkin guiSkin, Cursor cursor ) : System
Button ( string buttonTexture, Cursor cursor, string contentManagerName ) : System
Press ( ) : void
SetOverlayAnimationChain ( AnimationChain achToSet ) : void
SetOverlayTextures ( FlatRedBall.Texture2D upTexture, FlatRedBall.Texture2D downTexture ) : void
SetOverlayTextures ( int col, int row ) : void
SetOverlayTextures ( int col, int row, int downCol, int downRow ) : void
SetSkin ( ButtonSkin upSkin, ButtonSkin downSkin ) : void
SetSkin ( GuiSkin guiSkin ) : void
TestCollision ( Cursor cursor ) : void

보호된 메소드들

메소드 설명
Destroy ( bool keepEvents ) : void

비공개 메소드들

메소드 설명
Destroy ( ) : void
DrawSelfAndChildren ( Camera camera ) : void
GetNumberOfVerticesToDraw ( ) : int
SetTexturePropertiesFromSkin ( ButtonSkin buttonSkin ) : void

메소드 상세

Button() 공개 메소드

public Button ( Cursor cursor ) : System
cursor Cursor
리턴 System

Button() 공개 메소드

public Button ( GuiSkin guiSkin, Cursor cursor ) : System
guiSkin GuiSkin
cursor Cursor
리턴 System

Button() 공개 메소드

public Button ( string buttonTexture, Cursor cursor, string contentManagerName ) : System
buttonTexture string
cursor Cursor
contentManagerName string
리턴 System

Destroy() 보호된 메소드

protected Destroy ( bool keepEvents ) : void
keepEvents bool
리턴 void

Press() 공개 메소드

public Press ( ) : void
리턴 void

SetOverlayAnimationChain() 공개 메소드

public SetOverlayAnimationChain ( AnimationChain achToSet ) : void
achToSet FlatRedBall.Graphics.Animation.AnimationChain
리턴 void

SetOverlayTextures() 공개 메소드

public SetOverlayTextures ( FlatRedBall.Texture2D upTexture, FlatRedBall.Texture2D downTexture ) : void
upTexture FlatRedBall.Texture2D
downTexture FlatRedBall.Texture2D
리턴 void

SetOverlayTextures() 공개 메소드

public SetOverlayTextures ( int col, int row ) : void
col int
row int
리턴 void

SetOverlayTextures() 공개 메소드

public SetOverlayTextures ( int col, int row, int downCol, int downRow ) : void
col int
row int
downCol int
downRow int
리턴 void

SetSkin() 공개 메소드

public SetSkin ( ButtonSkin upSkin, ButtonSkin downSkin ) : void
upSkin ButtonSkin
downSkin ButtonSkin
리턴 void

SetSkin() 공개 메소드

public SetSkin ( GuiSkin guiSkin ) : void
guiSkin GuiSkin
리턴 void

TestCollision() 공개 메소드

public TestCollision ( Cursor cursor ) : void
cursor Cursor
리턴 void

프로퍼티 상세

mOverlayTexture 보호되어 있는 프로퍼티

protected FlatRedBall.Texture2D mOverlayTexture
리턴 FlatRedBall.Texture2D