메소드 | 설명 | |
---|---|---|
CaptureMouse ( ) : void |
Captures the mouse, hiding it and trapping it inside the window bounds. This method is useful for tooling scenarios where you only care about the mouse deltas and want the user to be able to continue interacting with the window while they move the mouse. A good example of this is rotating an object based on the mouse deltas where through capturing you can spin and spin without having the cursor leave the window. |
|
GraphicsDeviceControl ( ) : System | ||
ReleaseMouseCapture ( ) : void |
Releases the capture of the mouse which makes it visible and allows it to leave the window bounds.
|
|
SetCursor ( System.Windows.Input.Cursor cursor ) : void |
메소드 | 설명 | |
---|---|---|
BuildWindowCore ( |
||
DestroyWindowCore ( |
||
Dispose ( bool disposing ) : void | ||
WndProc ( |
메소드 | 설명 | |
---|---|---|
CompositionTarget_Rendering ( object sender, |
||
CreateHostWindow ( |
Creates the host window as a child of the parent window.
|
|
Current_Activated ( object sender, |
||
Current_Deactivated ( object sender, |
||
InitGraphicsDevice ( ) : bool | ||
RegisterWindowClass ( ) : void |
Registers the window class.
|
|
ResetMouseState ( ) : void | ||
XnaWindowHost_Loaded ( object sender, |
||
XnaWindowHost_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void |
protected BuildWindowCore ( |
||
hwndParent | ||
리턴 |
protected DestroyWindowCore ( |
||
hwnd | ||
리턴 | void |
public SetCursor ( System.Windows.Input.Cursor cursor ) : void | ||
cursor | System.Windows.Input.Cursor | |
리턴 | void |
protected WndProc ( |
||
hwnd | ||
msg | int | |
wParam | ||
lParam | ||
handled | bool | |
리턴 |