PickEvent QML Type

PickEvent는 객체가 선택될 때 정보를 저장합니다. 이것은 선택이 성공할 때 대부분의 QObjectPicker 컴포넌트 신호에서 파라미터로 수신됩니다. 더 보기...

Import Statement: import Qt3D.Render 2.8
In C++: QPickEvent
Status: Deprecated

속성

자세한 설명

ObjectPickerPickingSettings참조하세요 .

속성 문서

accepted : bool

이벤트가 수락되었는지 여부를 지정합니다.


button : int [read-only]

이벤트를 일으킨 마우스 버튼을 지정합니다.


buttons : int [read-only]

이벤트에 대한 마우스 버튼의 상태를 지정합니다.


distance : real [read-only]

카메라까지의 타격 거리를 지정합니다.


entity : Entity [read-only]

선택된 지오메트리가 속한 엔티티입니다.

오브젝트 선택기가 씬 그래프의 리프 노드에 연결되어 있지 않은 경우 실제로 선택된 자식 엔티티를 찾는 데 유용합니다.


localIntersection : Vector3D [read-only]

선택된 엔티티의 로컬 좌표계에서 히트 좌표를 지정합니다.


modifiers : int [read-only]

이벤트에 대한 마우스 버튼의 상태를 지정합니다.


position : Point2D [read-only]

렌더링 영역(창 또는 빠른 항목)에 대한 마우스 위치를 지정합니다.


viewport : Viewport [read-only]

이 이벤트가 시작된 뷰포트입니다. null 값은 뷰포트가 없는 프레임 그래프 분기에서 이벤트가 발생했음을 의미합니다. 프레임 그래프 분기에 뷰포트 내부에 뷰포트가 있는 경우 프로퍼티에는 리프 뷰포트가 포함됩니다.


worldIntersection : Vector3D [read-only]

월드 좌표계에서 히트 좌표를 지정합니다.


© 2025 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.