API Mouse.GetPosition: Difference between revisions
Appearance
XML import |
XML import |
||
| Line 3: | Line 3: | ||
<div style="width:25%; float:right" class="toc"> | <div style="width:25%; float:right" class="toc"> | ||
===Class hierarchy===[[API Mouse|Mouse]] | ====Class hierarchy==== | ||
[[API Mouse|Mouse]] | |||
:[[API Mouse|GetPosition]] | :[[API Mouse|GetPosition]] | ||
</div> | </div> | ||
| Line 17: | Line 18: | ||
==Detailed description== | ==Detailed description== | ||
''No additional information'' | ''<span style="color:red;">No additional information</span>'' | ||
==Examples== | ==Examples== | ||
| Line 23: | Line 25: | ||
* Declare a variable 'result' of type HANDLE | * Declare a variable 'result' of type HANDLE | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Mouse.GetPosition()</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Mouse.GetPosition()</pre> | ||
''<span style="color:red;">No additional information</span>'' | |||
Revision as of 22:09, 11 May 2013
<sidebar>API contents</sidebar> Gets the position of the mouse, intersecting with a component or the viewing plane
Parameters
This function has no parameters
Return value
Returns the position of the mouse, intersecting with a component or the viewing plane
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type HANDLE
- Add to a calculation icon:
result = ::Mouse.GetPosition()
No additional information