The structure describes the attributes for a touch point or mouse hit. More...
#include <kanzi/core.ui/input/input_manipulator.hpp>
Public Member Functions | |
| TouchPoint ()=default | |
| Constructor. More... | |
Public Attributes | |
| float | distance |
| Hit test distance. More... | |
| unsigned int | id |
| Touch identifier. More... | |
| NodeWeakPtr | objectNode |
| Hit test object node. More... | |
| Ray | ray |
| Hit test ray in 3D space. More... | |
| TouchPointState | state |
| Touch state. More... | |
| float | x |
| Touch x axis coordinate. More... | |
| float | y |
| Touch y axis coordinate. More... | |
The structure describes the attributes for a touch point or mouse hit.
The description includes the information about the identifier, state, coordinates, ray, and distance. Ray and distance fields are only applicable for 3D spaces.
|
explicitdefault |
Constructor.
| Ray kanzi::TouchPoint::ray |
Hit test ray in 3D space.
| NodeWeakPtr kanzi::TouchPoint::objectNode |
Hit test object node.
| float kanzi::TouchPoint::x |
Touch x axis coordinate.
| float kanzi::TouchPoint::y |
Touch y axis coordinate.
| float kanzi::TouchPoint::distance |
Hit test distance.
This is the distance between the camera and the bounding box of the hit test node.
| unsigned int kanzi::TouchPoint::id |
Touch identifier.
| TouchPointState kanzi::TouchPoint::state |
Touch state.