ikeyeblinker - eisclimber/ExPresS-XR GitHub Wiki

IKEyeBlinker

Class in ExPresSXR.Experimentation.EyeTracking

Inherits from UnityEngine.MonoBehaviour

Summary

Animates the blend shapes of a SkinnedMeshRenderer to make the eyes blink. One can either use the openness values from eye-tracking or random intervals.

The SkinnedMeshRenderer must have the proper blendshapes set up for this to work.

To get the blendshapes' index, find it in the editor. Right-click and Copy the 'Property Path'. Paste it somewhere and use the number in the short string as index.

public class IKEyeBlinker : MonoBehaviour

Enums

Name Description
BlinkBehaviorType Different types of eye blinking behaviors.
EyeTracking requires a headset that supports and exposes the value via InputActions.

Fields

Name Description
MAX_BLEND_VALUE Defines the maximum value of a bend shape key.

Properties

Name Description
BlinkBehavior Determines the provider used for triggering blinking.
⚠️ **GitHub.com Fallback** ⚠️