Class TimescaleFilter
Changes speed, pitch and rate.
public sealed record TimescaleFilter : IFilter, IEquatable<TimescaleFilter>
- Inheritance
-
TimescaleFilter
- Implements
- Inherited Members
Remarks
Server defaults, 1.0 (no change).
The NodeLink-only transition fades the filter in or out, parameter changes animate towards the new values. During the transition the position estimate advances step-wise at the target pace, it does not interpolate the ramp.
Constructors
TimescaleFilter(double?, double?, double?, FilterTransition?)
Changes speed, pitch and rate.
public TimescaleFilter(double? Speed = null, double? Pitch = null, double? Rate = null, FilterTransition? Transition = null)
Parameters
Speeddouble?Speed multiplier, greater than 0, the server default is 1.0 (no change).
Pitchdouble?Pitch multiplier, greater than 0, the server default is 1.0 (no change).
Ratedouble?Rate multiplier, greater than 0, the server default is 1.0 (no change).
TransitionFilterTransitionFades the filter in or out instead of stepping, NodeLink only. Parameter changes animate towards the new values too.
Remarks
Server defaults, 1.0 (no change).
The NodeLink-only transition fades the filter in or out, parameter changes animate towards the new values. During the transition the position estimate advances step-wise at the target pace, it does not interpolate the ramp.
Properties
Pitch
Pitch multiplier, greater than 0, the server default is 1.0 (no change).
[JsonPropertyName("pitch")]
public double? Pitch { get; init; }
Property Value
Rate
Rate multiplier, greater than 0, the server default is 1.0 (no change).
[JsonPropertyName("rate")]
public double? Rate { get; init; }
Property Value
Speed
Speed multiplier, greater than 0, the server default is 1.0 (no change).
[JsonPropertyName("speed")]
public double? Speed { get; init; }
Property Value
Transition
Fades the filter in or out instead of stepping, NodeLink only. Parameter changes animate towards the new values too.
[JsonPropertyName("transition")]
public FilterTransition? Transition { get; init; }