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. | |
Public Attributes | |
| float | distance |
| Hit test distance. | |
| unsigned int | id |
| Touch identifier. | |
| NodeWeakPtr | objectNode |
| Hit test object node. | |
| Vector2 | point |
| The touch point x and y coordinates. | |
| Ray | ray |
| Hit test ray in 3D space. | |
| TouchPointState | state |
| Touch state. | |
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.
| Vector2 kanzi::TouchPoint::point |
The touch point x and y coordinates.
| float kanzi::TouchPoint::distance |
Hit test distance.
This is the distance between the camera and the bounding box of the hit test node.
| TouchPointState kanzi::TouchPoint::state |
Touch state.