SimulatedTimestampGeneratorAlignToFrameRate Method
Floor-aligns timestamp to the sub-second distribution of frameRate.
Namespace: Gemstone.PhasorProtocolsAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.189 -- Release Build+f18be3298deb6f1d6a1aa9db365605e74583d8b3
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.