이 페이지에서

RayCaster QML Type

3D 세계 좌표계에서 레이 캐스팅 테스트를 수행하는 데 사용됩니다. 더 보기...

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

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

속성

상세 설명

3D 광선은 원점, 방향 및 길이로 정의됩니다. 이 광선은 소속된 엔티티에 적용된 변환의 영향을 받습니다.

컴포넌트가 활성화된 상태에서는 매 프레임마다 레이 캐스팅 테스트가 수행됩니다. hits 속성은 교차 지점 목록으로 업데이트됩니다.

AbstractRayCaster, ScreenRayCaster 및 NoPicking도 참조하십시오 .

속성 문서

direction : vector3D

3D 광선의 방향을 나타냅니다. 이는 단위 벡터여야 합니다.

length : real

3차 광선의 길이를 저장합니다.

origin : vector3d

로컬 좌표계에서 3D 광선의 기점을 저장합니다.

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