C# 클래스 Artemis.Profiles.ProfileModel

파일 보기 프로젝트 열기: SpoinkyNL/Artemis 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DrawLayers void

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
FixBoundaries ( Rect keyboardRectangle ) : void

Looks at all the layers wthin the profile and makes sure they are within boundaries of the given rectangle

FixOrder ( ) : void
GetHashCode ( ) : int
GetLayers ( ) : List

Gives all the layers and their children in a flat list

GetRenderLayers ( IDataModel dataModel, bool keyboardOnly, bool ignoreConditions = false ) : List

Generates a flat list containing all layers that must be rendered on the keyboard, the first mouse layer to be rendered and the first headset layer to be rendered

ProfileModel ( ) : System
ResizeLayers ( KeyboardProvider target ) : void

Resizes layers that are shown in the editor and match exactly the full keyboard widht and height

보호된 메소드들

메소드 설명
Equals ( ProfileModel other ) : bool

비공개 메소드들

메소드 설명
DrawLayers ( Graphics g, IEnumerable renderLayers, IDataModel dataModel, Rect rect, bool preview, bool updateAnimations ) : void

Draw all the given layers on the given rect

메소드 상세

Equals() 보호된 메소드

protected Equals ( ProfileModel other ) : bool
other ProfileModel
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

FixBoundaries() 공개 메소드

Looks at all the layers wthin the profile and makes sure they are within boundaries of the given rectangle
public FixBoundaries ( Rect keyboardRectangle ) : void
keyboardRectangle Rect
리턴 void

FixOrder() 공개 메소드

public FixOrder ( ) : void
리턴 void

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetLayers() 공개 메소드

Gives all the layers and their children in a flat list
public GetLayers ( ) : List
리턴 List

GetRenderLayers() 공개 메소드

Generates a flat list containing all layers that must be rendered on the keyboard, the first mouse layer to be rendered and the first headset layer to be rendered
public GetRenderLayers ( IDataModel dataModel, bool keyboardOnly, bool ignoreConditions = false ) : List
dataModel IDataModel Instance of said game data model
keyboardOnly bool Whether or not to ignore anything but keyboards
ignoreConditions bool
리턴 List

ProfileModel() 공개 메소드

public ProfileModel ( ) : System
리턴 System

ResizeLayers() 공개 메소드

Resizes layers that are shown in the editor and match exactly the full keyboard widht and height
public ResizeLayers ( KeyboardProvider target ) : void
target Artemis.DeviceProviders.KeyboardProvider The new keyboard to adjust the layers for
리턴 void