API reference
API reference
Select your platform
No SDKs available
No versions available

IOneEuroFilter Interface

Overview

Properties

TData
Value[Get]
The last value returned by Step(TData, float)

Public Member Functions

void
Update the parameters of the filter.
TData
Step
( TData rawValue,
float deltaTime )
Update the filter with a new noisy value to be smoothed.
void
Reset ( )
Clear previous values and reset the filter.

Details

Properties

TData Oculus.Interaction.Input.IOneEuroFilter< TData >.Value
The last value returned by Step(TData, float)

Member Functions

void Oculus.Interaction.Input.IOneEuroFilter< TData >.SetProperties
( in OneEuroFilterPropertyBlock properties )
Update the parameters of the filter.
Parameters
propertyBlock
The property block containing the parameters to se
TData Oculus.Interaction.Input.IOneEuroFilter< TData >.Step
( TData rawValue,
float deltaTime )
Update the filter with a new noisy value to be smoothed.
This is a destructive operation that should be run once per frame, as calling this updates the previous frame data.
Parameters
rawValue
The noisy value to be filtered
deltaTime
The time between steps, use to derive filter frequency. Omitting this value will fallback to OneEuroFilter._DEFAULT_FREQUENCY_HZ
Returns
The filtered value, equivalent to Value
void Oculus.Interaction.Input.IOneEuroFilter< TData >.Reset ( )
Clear previous values and reset the filter.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon