XrController QML Type

入力コントローラーの位置と向きを追跡する追跡空間ノード。詳細...

Import Statement: import QtQuick3D.Xr
Since: Qt 6.8
Inherits:

Node

Status: Technical Preview

プロパティ

詳細説明

XrControllerはトラッキングされた空間ノードで、入力コントローラの位置と向きをトラッキングします。

これはトラッキングされたノードなので、その空間プロパティは読み取り専用と考えるべきである。

XrInputActionも参照してください

プロパティの説明

controller : enumeration

トラッキングするコントローラを指定します。

以下のいずれかを指定します:

定数
XrController.ControllerNone
XrController.ControllerLeft
XrController.ControllerRight

isActive : bool [read-only]

コントローラが入力を提供しているかどうかを示す。

対応する物理コントローラが存在し、トラッキングしている場合、このプロパティはtrueになります。


jointPositions : list<vector3d> [read-only]

ハンドトラッキングを使用している場合、このプロパティは手のすべてのボーンの位置を保持します。

jointRotations およびXrHandModelも参照してください


jointRotations : list<quaternion> [read-only]

ハンドトラッキングを使用している場合、このプロパティは手のすべてのボーンの向きを保持します。

jointPositions およびXrHandModel参照して ください。


pokePosition : vector3d [read-only]

このプロパティは、タッチインタラクションに使用する位置を保持します。通常、手をトラッキングする場合は人差し指の先端になります。

XrView::processTouchXrView::setTouchpoint参照して ください。


poseSpace : enumeration [default: XrController.AimPose]

トラッキングするコントローラのポーズ、つまり物理コントローラに対する向きと位置を指定します。

以下のいずれかを指定します:

定数説明
XrController.AimPoseXrVirtualMouse など、何かを狙うときに使用します。
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.