PickResult QML Type

Contains the results of a pick. More...

Import Statement: import QtQuick3D 1.15

Properties

Detailed Description

Created as a return object to View3D::pick.

Property Documentation

distance : float

This property holds the distance between the camera and the hit position i.e. the length of the ray.


objectHit : Model

This property holds the model object hit by the pick.


scenePosition : vector3d

This property holds the scene position of the hit.


uvPosition : vector2d

This property holds the UV position of the hit. The UV position is calculated as the normalized local x and y coordinates of the hit point relative to the bounding volume. Useful for further picking against an offscreen-rendered object.


© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.