Table of Contents

InterpolationSettings

Constructors
InterpolationSettings
Fields
DefaultInterpolationName
DefaultSampleRate
DefaultSettingsPath

Asset path to the default interpolation settings.

EmptyInterpolationName
SimulationFramesPerSecond
interpolator

Reference to the Interpolator implementation that performs blending between samples. By default, latest sample interpolation is used, which simply snaps the value to the latest sample.

latencySettings

LatencySettings provides parameters used to tweak interpolation Delay.

maxDistance

If any two consecutive samples exceed the maximum distance, the buffer is cleared to teleport to the latest sample.

smoothing

SmoothingSettings is applied after the Interpolator blends values from samples around the current Time. This is useful to smooth out jerky movement, e.g., when moving into dead reckoning.

Properties
Empty

Stores a singleton InterpolationSettings created with CreateEmpty(). This is used so bindings can share a single instance of the settings, thus it shouldn't be modified.

IsInterpolationNone

Returns true if the settings is the "None" interpolation mode.

Methods
CreateDefault

Creates a default interpolation object that uses linear interpolation.

CreateEmpty

Creates an empty interpolation object which simply snaps to the latest sample value without any blending.