PickingSettings QML Type

PickingSettings 클래스는 엔티티 선택이 처리되는 방식을 지정합니다. 더 보기...

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

속성

상세 설명

선택 설정에 따라 엔티티 선택이 처리되는 방식이 결정됩니다. 엔티티 피킹에 대한 자세한 내용은 Qt3D.Render::ObjectPicker 또는 Qt3D.Render::RayCaster 컴포넌트 문서를 참조하십시오.

ObjectPicker 컴포넌트를 사용하는 경우, 선택은 마우스 이벤트에 의해 트리거됩니다.

RayCaster 또는 ScreenRayCaster 컴포넌트를 사용하는 경우, 애플리케이션에서 명시적으로 피킹을 트리거할 수 있습니다.

두 경우 모두 장면을 통해 광선을 투사하여 광선과 교차하는 지오메트리를 찾습니다.

ObjectPicker, RayCaster, ScreenRayCaster참조하세요 .

프로퍼티 문서

faceOrientationPickingMode : enumeration

면 방향이 트라이앵글 선택에 영향을 미치는 방식을 지정합니다.

  • PickingSettings.FrontFace 전면을 향한 트라이앵글만 선택됩니다(기본값).
  • PickingSettings.BackFace 뒷면을 향한 트라이앵글만 선택됩니다.
  • PickingSettings.FrontAndBackFace 앞면과 뒷면을 모두 향한 트라이앵글이 모두 선택됩니다.

pickMethod : enumeration

현재 선택 방법을 유지합니다.

Qt3DRender::QPickingSettings::PickMethod참조하세요 .


pickResultMode : enumeration

현재 선택 결과 모드를 유지합니다.

Qt3DRender::QPickingSettings::PickResultMode참조 .


worldSpaceTolerance : real

선 및 점 선택을 평가하는 데 사용되는 임계값을 모델 공간 좌표로 유지합니다.


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