Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

InterpolationMode

enum in ImmerseSDK.PlatformServices

Method used for updating TransformSync values from update messages

Values
Interpolate Move the TransformSync to the value of the latest message
This will always ensure the values will be accurate and it is appropriate for a wide range of network conditions.
Extrapolate Attempt to predict the value of the next message based on the previous message.

Under stable network conditions this may improve perceptible lag, at the cost of accuracy.
Doesn’t scale well with high or inconsistent latency and can produce unstable results.