HandConstraint.SolverRotationBehavior Enum

Definition

Specifies how the solver should rotate when tracking the hand.

C++
public: enum class HandConstraint::SolverRotationBehavior
Inheritance
HandConstraint.SolverRotationBehavior

Fields

Name Value Description
None 0

The solver simply follows the rotation of the tracked object.

LookAtMainCamera 2

The solver faces the main camera (user).

LookAtTrackedObject 3

The solver faces the tracked object. A hand to world transformation is applied to work with traditional user facing UI (-z is forward).

Applies to

Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0