Class SystemClockTimecodeSource
A component that generates timecodes using the system clock.
Namespace: Unity.LiveCapture
Syntax
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 |
Implements
FriendlyName
Get a human-readable name for the instance.
Declaration
public string FriendlyName { get; }
Property Value
Type | Description |
---|---|
String |
Implements
Id
Get the unique identifier for this instance.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
String |
Implements
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 |
Implements
Type
The source clock used to generate timecodes.
Declaration
public SystemClockTimecodeSource.ClockType Type { get; set; }
Property Value
Type | Description |
---|---|
SystemClockTimecodeSource.ClockType |