HandConstraint.SolverOffsetBehavior Enum

Definition

Specifies how the solver's offset relative to the hand will be computed.

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

Fields

Name Value Description
LookAtCameraRotation 0

Uses the object-to-head vector to compute an offset independent of hand rotation.

TrackedObjectRotation 1

Uses the hand rotation to compute an offset independent of look at camera rotation.

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