GazeStabilizer.UpdateStability(Vector3, Vector3) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the StablePosition and StableRotation based on GazeSample values. Call this method with RaycastHit parameters to get stable values.
public:
override void UpdateStability(UnityEngine::Vector3 gazePosition, UnityEngine::Vector3 gazeDirection);
public override void UpdateStability (UnityEngine.Vector3 gazePosition, UnityEngine.Vector3 gazeDirection);
override this.UpdateStability : UnityEngine.Vector3 * UnityEngine.Vector3 -> unit
Public Overrides Sub UpdateStability (gazePosition As Vector3, gazeDirection As Vector3)
Parameters
- gazePosition
- UnityEngine.Vector3
Position value from a RaycastHit point.
- gazeDirection
- UnityEngine.Vector3
Direction value from a RaycastHit rotation.