이 페이지에서

PickEvent QML Type

PickEvent는 객체가 선택되었을 때의 정보를 저장합니다. 이 정보는 선택이 성공했을 때 대부분의 QObjectPicker 컴포넌트 시그널에서 매개변수로 전달됩니다. 더 보기...

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

이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.

속성

상세 설명

ObjectPicker 및 PickingSettings도 참조하십시오 .

속성 설명

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]

월드 좌표계에서 명중 지점의 좌표를 지정합니다.

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