Class ClockVideoSourceConfig
Wall clock with millisecond precision, rendered on the GPU. Shows the local time of the machine that runs the FFI server.
public sealed class ClockVideoSourceConfig : Google.Protobuf.IMessage<ClockVideoSourceConfig>, Google.Protobuf.IBufferMessage
- Inheritance
-
ClockVideoSourceConfig
- Implements
-
IBufferMessage
- Extension Methods
Constructors
ClockVideoSourceConfig()
public ClockVideoSourceConfig()
ClockVideoSourceConfig(ClockVideoSourceConfig)
public ClockVideoSourceConfig(ClockVideoSourceConfig other)
Parameters
otherClockVideoSourceConfig
Fields
FramerateFpsFieldNumber
Field number for the "framerate_fps" field.
public const int FramerateFpsFieldNumber = 2
Field Value
ResolutionFieldNumber
Field number for the "resolution" field.
public const int ResolutionFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
FramerateFps
Output frame rate in frames per second.
public uint FramerateFps { get; set; }
Property Value
HasFramerateFps
Gets whether the "framerate_fps" field is set
public bool HasFramerateFps { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<ClockVideoSourceConfig> Parser { get; }
Property Value
- MessageParser<ClockVideoSourceConfig>
Resolution
Output resolution.
public VideoSourceResolution Resolution { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearFramerateFps()
Clears the value of the "framerate_fps" field
public void ClearFramerateFps()
Clone()
public ClockVideoSourceConfig Clone()
Returns
Equals(ClockVideoSourceConfig)
public bool Equals(ClockVideoSourceConfig other)
Parameters
otherClockVideoSourceConfig
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(ClockVideoSourceConfig)
public void MergeFrom(ClockVideoSourceConfig other)
Parameters
otherClockVideoSourceConfig
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream