public void ClearSettings() { m3DSettings = null; m6DOFSettings = null; mAnalogSettings = null; mForceSettings = null; mGazeVectorSettings = null; mGeneralSettings = null; mImageSettings = null; }
public void ClearSettings() { m3DSettings = null; m6DOFSettings = null; mAnalogSettings = null; mForceSettings = null; mGazeVectorSettings = null; mSkeletonSettingsCollection = null; mGeneralSettings = null; mImageSettings = null; }
static bool GetGazeVectorSettings(RTState state, RTProtocol mProtocol) { bool getStatus = mProtocol.GetGazeVectorSettings(); if (getStatus) { state.gazeVectors.Clear(); SettingsGazeVectors settings = mProtocol.GazeVectorSettings; foreach (var gazeVector in settings.GazeVectors) { var newGazeVector = new GazeVector(); newGazeVector.Name = gazeVector.Name; newGazeVector.Position = Vector3.zero; newGazeVector.Direction = Vector3.zero; state.gazeVectors.Add(newGazeVector); } return(true); } return(false); }