Class SystemClockTimecodeSource
A component that generates timecodes using the system clock.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
[ExecuteAlways]
[CreateTimecodeSourceMenuItem("System Clock Timecode Source", 0)]
[AddComponentMenu("Live Capture/Timecode/System Clock Timecode Source")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.live-capture@3.0/manual/ref-component-system-clock-timecode-source.html")]
public class SystemClockTimecodeSource : MonoBehaviour, ITimecodeSource, IRegistrable
Properties
FrameRate
The rate at which timecodes are generated.
Declaration
public FrameRate FrameRate { get; set; }
Property Value
| Type | Description |
|---|---|
| FrameRate |
FriendlyName
Get a human-readable name for the instance.
Declaration
public string FriendlyName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Get the unique identifier for this instance.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The ID should not be null or empty, and is expected to remain constant for the life of the instance.
Now
The latest timecode available at the source.
Declaration
public Timecode Now { get; }
Property Value
| Type | Description |
|---|---|
| Timecode |
Type
The source clock used to generate timecodes.
Declaration
public SystemClockTimecodeSource.ClockType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| SystemClockTimecodeSource.ClockType |