private int SetPantsBaseOrientation(Vector3 orientation) { #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN return(EnfluxNativeFileRecorder.SetPantsBaseOrientation(orientation.ToEnfluxVector3())); #else return(0); #endif }
private int StartRecording(string filename) { #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN return(EnfluxNativeFileRecorder.StartRecording(filename)); #else return(0); #endif }
private int EndRecording() { if (_sourceSuitStream != null) { // TODO: Check error codes SetShirtBaseOrientation(_sourceSuitStream.ShirtBaseOrientation); SetPantsBaseOrientation(_sourceSuitStream.PantsBaseOrientation); } #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN return(EnfluxNativeFileRecorder.EndRecording()); #else return(0); #endif }