C# 클래스 Ensage.Common.Menu.Draw.OnOffSlider

The on off.
파일 보기 프로젝트 열기: EnsageSharp/Ensage.Common

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Draw ( System.Vector2 mousePosition ) : void

The draw.

LeftButtonDown ( System.Vector2 mousePosition ) : void

The left button down.

LeftButtonUp ( ) : void

The left button up.

OnOffSlider ( Color onColor, Color offColor, float height, bool enabled ) : System

Initializes a new instance of the OnOffSlider class.

메소드 상세

Draw() 공개 메소드

The draw.
public Draw ( System.Vector2 mousePosition ) : void
mousePosition System.Vector2 /// The mouse position. ///
리턴 void

LeftButtonDown() 공개 메소드

The left button down.
public LeftButtonDown ( System.Vector2 mousePosition ) : void
mousePosition System.Vector2 /// The mouse position. ///
리턴 void

LeftButtonUp() 공개 메소드

The left button up.
public LeftButtonUp ( ) : void
리턴 void

OnOffSlider() 공개 메소드

Initializes a new instance of the OnOffSlider class.
public OnOffSlider ( Color onColor, Color offColor, float height, bool enabled ) : System
onColor Color /// The on color. ///
offColor Color /// The off color. ///
height float /// The height. ///
enabled bool /// The enabled. ///
리턴 System