包含拾取结果。 更多...
import 语句: | import QtQuick3D |
(从 6.5 起)
Created as a return object to View3D::pick .
distance
:
float
|
This property holds the distance between the pick origin and the hit position i.e. the length of the ray. In the case of using viewport coordinates for picking the pick origin will be the active camera's position.
instanceIndex
:
int
|
This property holds the index in the instance table for the case where the pick hit an instance of an instanced model.
该特性在 Qt 6.5 引入。
normal
:
vector3d
|
This property holds the normal of the face that was hit in local coordinate space.
objectHit
:
Model
|
This property holds the model object hit by the pick.
position
:
vector3d
|
This property holds the scene position of the hit in local coordinate space.
sceneNormal
:
vector3d
|
This property holds the normal of the face that was hit in scene coordinate space.
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.