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... | |
Vector2 | point |
The touch point x and y coordinates. More... | |
Ray | ray |
Hit test ray in 3D space. More... | |
TouchPointState | state |
Touch state. 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.
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.
unsigned int kanzi::TouchPoint::id |
Touch identifier.
TouchPointState kanzi::TouchPoint::state |
Touch state.