XrController QML Type
입력 컨트롤러의 위치와 방향을 추적하는 공간 노드입니다. 더 보기...
| Import Statement: | import QtQuick3D.Xr |
| Since: | Qt 6.8 |
| Inherits: | |
| Status: | Technology preview |
이 유형은 기술 미리보기 단계에 있으며 변경될 수 있습니다.
속성
- controller : enumeration
- isActive : bool
- jointPositions : list<vector3d>
- jointRotations : list<quaternion>
- pokePosition : vector3d
- poseSpace : enumeration
상세 설명
XrController는 입력 컨트롤러의 위치와 방향을 추적하는 추적형 공간 노드입니다.
이 노드는 추적형 노드이므로, 해당 공간 속성은 읽기 전용으로 간주되어야 합니다.
XrInputAction도 참조하십시오 .
속성 설명서
controller : enumeration
추적할 컨트롤러를 지정합니다.
다음 중 하나를 지정할 수 있습니다:
| 상수 | 설명 |
|---|---|
XrController.LeftController | |
XrController.RightController | |
XrController.UnknownController | |
XrController.LeftHand | ( LeftController 의 별칭) |
XrController.RightHand | ( RightController 의 별칭) |
isActive : bool [read-only]
컨트롤러가 입력을 제공하고 있는지 여부를 나타냅니다.
해당 물리적 컨트롤러가 존재하고 추적 중일 경우 이 속성은 true입니다.
jointPositions : list<vector3d> [read-only]
핸드 트래킹을 사용할 때, 이 속성에는 손의 모든 뼈의 위치 정보가 저장됩니다.
jointRotations 및 XrHandModel도 참조하십시오 .
jointRotations : list<quaternion> [read-only]
핸드 트래킹을 사용할 때, 이 속성은 손에 있는 모든 본의 방향을 저장합니다.
jointPositions 및 XrHandModel도 참조하십시오 .
pokePosition : vector3d [read-only]
이 속성은 터치 상호작용에 사용될 위치를 나타냅니다. 일반적으로 손을 추적할 때는 집게손가락 끝이 됩니다.
XrView::processTouch 및 XrView::setTouchpoint도 참조하십시오 .
poseSpace : enumeration [default: XrController.AimPose]
추적할 컨트롤러의 자세, 즉 물리적 컨트롤러를 기준으로 한 방향과 위치를 지정합니다.
다음 중 하나를 지정할 수 있습니다:
| 상수 | 설명 |
|---|---|
XrController.AimPose | XrVirtualMouse 와 같이 무언가를 조준할 때 사용됩니다. |
XrController.GripPose | 무언가를 잡을 때(예: 손에 물체를 쥐고 있을 때) 사용됩니다. |
© 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.