C# 클래스 Axiom.Samples.MousePicking.MousePickingSample

Sample of selecting objects with a mouse
상속: SdkSample
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
MouseLocationLabel Label

공개 메소드들

메소드 설명
KeyPressed ( SharpInputSystem evt ) : bool

key pressed selection event to have the ability to keep the current selection, sets the MouseSelector.KeepPreviousSelection if the right or left control key is pressed

KeyReleased ( SharpInputSystem evt ) : bool

key pressed selection event to have the ability to keep the current selection, sets the MouseSelector.KeepPreviousSelection if the right or left control key is pressed

MouseMoved ( SharpInputSystem evt ) : bool

mouse moved event override from SdkSample, calls the MouseSelector's MouseMoved event for SelectionBox

MousePickingSample ( ) : Axiom.Animating

Sample initialization

MousePressed ( SharpInputSystem evt, SharpInputSystem id ) : bool

mouse pressed event override from SdkSample, calls MouseSelector's MousePressed method to start selection

MouseReleased ( SharpInputSystem evt, SharpInputSystem id ) : bool

mouse released event override from SdkSample, calls MouseSelector's MouseReleased method to end selection

보호된 메소드들

메소드 설명
SetupContent ( ) : void

Sets up the samples content

SetupGUI ( ) : void

Creates and initializes all the scene's GUI elements not defined in SdkSample

비공개 메소드들

메소드 설명
selectionModeMenu_SelectedIndexChanged ( object sender, System e ) : void

Event for when the menu changes, sets the MouseSelectors SelectionMode

메소드 상세

KeyPressed() 공개 메소드

key pressed selection event to have the ability to keep the current selection, sets the MouseSelector.KeepPreviousSelection if the right or left control key is pressed
public KeyPressed ( SharpInputSystem evt ) : bool
evt SharpInputSystem KeyEventArgs
리턴 bool

KeyReleased() 공개 메소드

key pressed selection event to have the ability to keep the current selection, sets the MouseSelector.KeepPreviousSelection if the right or left control key is pressed
public KeyReleased ( SharpInputSystem evt ) : bool
evt SharpInputSystem KeyEventArgs
리턴 bool

MouseMoved() 공개 메소드

mouse moved event override from SdkSample, calls the MouseSelector's MouseMoved event for SelectionBox
public MouseMoved ( SharpInputSystem evt ) : bool
evt SharpInputSystem MouseEventArgs
리턴 bool

MousePickingSample() 공개 메소드

Sample initialization
public MousePickingSample ( ) : Axiom.Animating
리턴 Axiom.Animating

MousePressed() 공개 메소드

mouse pressed event override from SdkSample, calls MouseSelector's MousePressed method to start selection
public MousePressed ( SharpInputSystem evt, SharpInputSystem id ) : bool
evt SharpInputSystem MouseEventArgs
id SharpInputSystem MouseButtonID
리턴 bool

MouseReleased() 공개 메소드

mouse released event override from SdkSample, calls MouseSelector's MouseReleased method to end selection
public MouseReleased ( SharpInputSystem evt, SharpInputSystem id ) : bool
evt SharpInputSystem MouseEventArgs
id SharpInputSystem MouseButtonID
리턴 bool

SetupContent() 보호된 메소드

Sets up the samples content
protected SetupContent ( ) : void
리턴 void

SetupGUI() 보호된 메소드

Creates and initializes all the scene's GUI elements not defined in SdkSample
protected SetupGUI ( ) : void
리턴 void

프로퍼티 상세

MouseLocationLabel 보호되어 있는 프로퍼티

sample label for displaying mouse coordinates
protected Label MouseLocationLabel
리턴 Label