FInterpolationData

Interpolation that provides a damping effect and support direction changes.

Windows
MacOS
Linux

References

Module

DMXFixtures

Header

/Engine/Plugins/VirtualProduction/DMX/DMXFixtures/Source/DMXFixtures/Public/DMXInterpolation.h

Include

#include "DMXInterpolation.h"

Syntax

struct FInterpolationData

Remarks

Interpolation that provides a damping effect and support direction changes.

Variables

Name Description

Public variable

float

 

AccelerationThreshold

Public variable

float

 

CurrentSpeed

Public variable

float

 

CurrentValue

Public variable

float

 

Direction

Public variable

float

 

InterpolationScale

Public variable

bool

 

IsUpdating

Public variable

float

 

PreviousStep

Public variable

float

 

PreviousT

Public variable

float

 

RangeValue

Public variable

float

 

SpeedIncMax

Public variable

float

 

SpeedIncMid

Public variable

float

 

SpeedIncMin

Public variable

float

 

SpeedMinimum

Public variable

float

 

TargetValue

Public variable

float

 

TotalTravel

Public variable

float

 

ToTravel

Constructors

Name Description

Public function

FInterpolationData()

Functions

Name Description

Public function

void

 

EndInterpolation()

Public function

bool

 

IsInterpolationDone()

Public function

bool

 

IsTargetValid

(
    float Value,
    float SkipThreshold
)

Public function

void

 

Push

(
    float NewTarget
)

Public function

void

 

SetTarget

(
    float NewValue
)

Public function

void

 

StartTravel

(
    float NewTarget
)

Public function

void

 

Travel

(
    float DeltaSeconds
)

TODO: instead of using the derivative of the SmoothStep, use a sine wave.

Public function

void

 

UpdateTravel

(
    float NewTarget
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss