From dd8f70abcfbf47d9b4f1ea6cbcc787d6af6d3686 Mon Sep 17 00:00:00 2001 From: Emiliana <38952746+emilianavt@users.noreply.github.com> Date: Wed, 2 Sep 2020 16:33:25 +0200 Subject: [PATCH] Changed `OpenSeeVRMDriver` to only have one setting for enabling gaze tracking. --- Examples/OpenSeeVRMDriver.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Examples/OpenSeeVRMDriver.cs b/Examples/OpenSeeVRMDriver.cs index 43f1939..2c8bbe4 100644 --- a/Examples/OpenSeeVRMDriver.cs +++ b/Examples/OpenSeeVRMDriver.cs @@ -60,8 +60,6 @@ public class OpenSeeVRMDriver : MonoBehaviour { [Tooltip("This is the sensitivity of the eyebrow tracking, with 0 meaning no eyebrow movement.")] [Range(0, 2)] public float eyebrowSensitivity = 1.0f; - [Tooltip("If enabled, the eye will be animated according to camera based gaze tracking.")] - public bool trackGaze = true; [Tooltip("This is the gaze smoothing factor, with 0 being no smoothing and 1 being a fixed gaze.")] [Range(0, 1)] public float gazeSmoothing = 0.6f; @@ -1418,7 +1416,7 @@ public class OpenSeeVRMDriver : MonoBehaviour { } FindFaceMesh(); UpdateExpression(); - if (trackGaze && !only30Points) + if (gazeTracking && !only30Points) UpdateGaze(); BlinkEyes(); ReadAudio();