Unigine::VRHandTracking Class
Header: | #include <UnigineVRHandTracking.h> |
This class manages the VR hand tracking feature. It allows visualizing the bones basis, velocity and size to check and configure the hands configuration.
Примечание
VR hand tracking is available for the Varjo devices only.
VRHandTracking Class
Члены класса
Ptr<VRHand> getHandLeft() const#
Возвращает left hand.
Возвращаемое значение
left hand.Ptr<VRHand> getHandRight() const#
Возвращает right hand.
Возвращаемое значение
right hand.void setVisualizerEnabled ( bool enabled = 0 ) #
Console: vr_hand_tracking_visualizer_enabled
Устанавливает value indicating if the visualizer for hands is enabled. This option requires the visualizer mode to be enabled. Этот параметр находится в следующем файле конфигурации: *.boot .
Аргументы
- bool enabled - Set true to enable the visualizer for hands; false - to disable it. Значение по умолчанию false.
bool isVisualizerEnabled() const#
Console: vr_hand_tracking_visualizer_enabled
Возвращает value indicating if the visualizer for hands is enabled. This option requires the visualizer mode to be enabled. Этот параметр находится в следующем файле конфигурации: *.boot .
Возвращаемое значение
true if the visualizer for hands is enabled; otherwise false. Значение по умолчанию false.void setShowBasis ( bool basis = 0 ) #
Console: vr_hand_tracking_show_basis
Устанавливает value indicating if the visualizer for the basis of each hand bone is enabled. This option requires the hand visualizer to be enabled. Этот параметр находится в следующем файле конфигурации: *.boot .
Аргументы
- bool basis - Set true to enable the visualizer for the basis of each hand bone; false - to disable it. Значение по умолчанию false.
bool isShowBasis() const#
Console: vr_hand_tracking_show_basis
Возвращает value indicating if the visualizer for the basis of each hand bone is enabled. This option requires the hand visualizer to be enabled. Этот параметр находится в следующем файле конфигурации: *.boot .
Возвращаемое значение
true if the visualizer for the basis of each hand bone is enabled; otherwise false. Значение по умолчанию false.void setShowVelocity ( bool velocity = 0 ) #
Console: vr_hand_tracking_show_velocity
Устанавливает value indicating if the visualizer for the velocity vectors of each hand bone is enabled. This option requires the hand visualizer to be enabled. Этот параметр находится в следующем файле конфигурации: *.boot .
Аргументы
- bool velocity - Set true to enable the visualizer for the velocity vectors of each hand bone; false - to disable it. Значение по умолчанию false.
bool isShowVelocity() const#
Console: vr_hand_tracking_show_velocity
Возвращает value indicating if the visualizer for the velocity vectors of each hand bone is enabled. This option requires the hand visualizer to be enabled. Этот параметр находится в следующем файле конфигурации: *.boot .
Возвращаемое значение
true if the visualizer for the velocity vectors of each hand bone is enabled; otherwise false. Значение по умолчанию false.void setShowBoneSizes ( bool sizes = 0 ) #
Console: vr_hand_tracking_show_bone_sizes
Устанавливает value indicating if the visualizer for the size of each hand bone is enabled. This option requires the hand visualizer to be enabled. Этот параметр находится в следующем файле конфигурации: *.boot .
Аргументы
- bool sizes - Set true to enable the visualizer for the size of each hand bone; false - to disable it. Значение по умолчанию false.
bool isShowBoneSizes() const#
Console: vr_hand_tracking_show_bone_sizes
Возвращает value indicating if the visualizer for the size of each hand bone is enabled. This option requires the hand visualizer to be enabled. Этот параметр находится в следующем файле конфигурации: *.boot .
Возвращаемое значение
true if the visualizer for the size of each hand bone is enabled; otherwise false. Значение по умолчанию false.Последнее обновление:
12.02.2025
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter