SimulatedTimestampGeneratorAlignToFrameRate Method
Floor-aligns timestamp to the sub-second distribution of frameRate.
Namespace: Gemstone.PhasorProtocolsAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.187 -- Release Build+c9c1088b6e2a65c4a6e6b8eccc6dcbe1c00bd580
public static Ticks AlignToFrameRate(
Ticks timestamp,
int frameRate
)
Public Shared Function AlignToFrameRate (
timestamp As Ticks,
frameRate As Integer
) As Ticks
public:
static Ticks AlignToFrameRate(
Ticks timestamp,
int frameRate
)
Gemstone.PhasorProtocols.SimulatedTimestampGenerator.AlignToFrameRate = function(timestamp, frameRate);
- timestamp Ticks
- Timestamp to align.
- frameRate Int32
- Frame rate, in frames per second.
TicksAligned timestamp.