Method Advance
Advance(SamplingTime, float)
Advances a sampling time by a certain amount of time.
Declaration
public DeltaSamplingTime Advance(SamplingTime samplingTime, float deltaTime)
Parameters
Type | Name | Description |
---|---|---|
Sampling |
samplingTime | The reference time to advance from. |
float | deltaTime | The time increment to advance by in seconds. |
Returns
Type | Description |
---|---|
Delta |
The resulting sampling time. |
Remarks
This method advances a starting time by a certain amount of time.
It is valid to pass a negative delta time in order to step backward in time.
The resulting time can belong to a different segment if boundary clips have been configured for the segment that the initial time belongs to.
The resulting new sampling time will be clamped at segment boundaries if no boundary clips have been defined for the segment that the initial time belongs to.