XrController QML Type
입력 컨트롤러의 위치와 방향을 추적하는 추적된 공간 노드입니다. 더 보기...
Import Statement: | import QtQuick3D.Xr |
Since: | Qt 6.8 |
Inherits: | |
Status: | Technical Preview |
속성
- controller : enumeration
- isActive : bool
- jointPositions : list<vector3d>
- jointRotations : list<quaternion>
- pokePosition : vector3d
- poseSpace : enumeration
상세 설명
XrController는 입력 컨트롤러의 위치와 방향을 추적하는 추적형 공간 노드입니다.
추적된 노드이므로 공간 속성은 읽기 전용으로 간주해야 합니다.
XrInputAction 를참조하세요 .
프로퍼티 문서
controller : enumeration |
추적할 컨트롤러를 지정합니다.
다음 중 하나가 될 수 있습니다:
상수 | Value |
---|---|
XrController.ControllerNone | |
XrController.ControllerLeft | |
XrController.ControllerRight |
isActive : bool |
컨트롤러가 입력을 제공하고 있는지 여부를 나타냅니다.
해당 물리적 컨트롤러가 존재하고 추적 중이면 이 프로퍼티는 참입니다.
손 추적을 사용하는 경우 이 속성은 손의 모든 뼈 위치를 보유합니다.
jointRotations 및 XrHandModel 을참조하세요 .
jointRotations : list<quaternion> |
손 추적 사용 시 이 프로퍼티는 손의 모든 뼈의 방향을 유지합니다.
jointPositions 및 XrHandModel도 참조 하세요.
pokePosition : vector3d |
이 프로퍼티에는 터치 상호작용에 사용할 위치가 저장됩니다. 일반적으로 손을 추적할 때는 검지 손가락 끝이 됩니다.
XrView::processTouch 및 XrView::setTouchpoint도 참조하십시오 .
poseSpace : enumeration |
추적할 컨트롤러의 포즈, 즉 물리적 컨트롤러를 기준으로 한 방향과 위치를 지정합니다.
다음 중 하나가 될 수 있습니다:
상수 | 설명 |
---|---|
XrController.AimPose | XrVirtualMouse 와 같이 무언가를 조준할 때 사용합니다. |
XrController.GripPose | 손으로 물체를 잡을 때와 같이 무언가를 잡을 때 사용합니다. |
© 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.