Class CameraRecording
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class CameraRecording : MonoBehaviour, IPlayableVideo
- Inheritance
-
CameraRecording
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
CameraRecording()
Fields
m_clips
public List<Clip> m_clips
Field Value
- List<Clip>
m_lastModified
public DateTime m_lastModified
Field Value
- DateTime
videoHandle
public VideoHandle videoHandle
Field Value
- VideoHandle
Properties
ClipCount
public int ClipCount { get; }
Property Value
- int
LastModified
public DateTime LastModified { get; }
Property Value
- DateTime
public bool ReadyToExtract { get; }
Property Value
- bool
Methods
AddNewClip(Clip)
public void AddNewClip(Clip clip)
Parameters
clip
Clip
EndCurrentClip()
public Clip EndCurrentClip()
Returns
- Clip
GetAllClips()
public List<Clip> GetAllClips()
Returns
- List<Clip>
GetClip(ClipID)
public Clip GetClip(ClipID clipID)
Parameters
clipID
ClipID
Returns
- Clip
GetClip(int)
public Clip GetClip(int i)
Parameters
i
int
Returns
- Clip
GetDirectory()
public string GetDirectory()
Returns
- string
SaveToDesktop(out string)
public bool SaveToDesktop(out string videoFileName)
Parameters
videoFileName
string
Returns
- bool
SetInfo(VideoHandle)
public void SetInfo(VideoHandle videoID)
Parameters
videoID
VideoHandle
TryGetClip(ClipID, out Clip)
public bool TryGetClip(ClipID clipID, out Clip clip)
Parameters
clipID
ClipID
clip
Clip
Returns
- bool
TryGetLatestClip(out Clip)
public bool TryGetLatestClip(out Clip clip)
Parameters
clip
Clip
Returns
- bool
TryGetVideoPath(out string)
public bool TryGetVideoPath(out string path)
Parameters
path
string
Returns
- bool