Table of Contents

GetValueAt

Methods
public T GetValueAt(double time)

Queries the sample buffer for samples adjacent to the given time and performs blending between those samples using the interpolator.

Parameters
Type Name Description
double time

The time at which to query the interpolation. Usually Time.

Returns
Type Description
T

Returns the interpolated value at the given time, or default if the buffer is empty, or the single sample value if the buffer holds a single sample.