Class BlendOut
This script allows for dynamically blending out a target after it has been looked at for a certain amount of time.
Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking
Assembly: cs.temp.dll.dll
Syntax
public class BlendOut : MonoBehaviour
Methods
Disengage()
Once the user looks away from the hologram, determine whether the user has dwelled at it before. If yes, start blending it out and destroy it if that option was selected. If not, we can still blend it out a little, but keep it alive and visible.
Declaration
public void Disengage()
DwellSucceeded()
Declaration
public void DwellSucceeded()
Engage()
Once the target is looked at, set it to its full "look at transparency" and let's prevent its destruction when being looked at.
Declaration
public void Engage()
Update()
Declaration
public void Update()