FMovieSceneFloatChannel::PopulateCurvePoints

Populate the specified array with times and values that represent the smooth interpolation of this channel across the specified range

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/Channels/MovieSceneFloatChannel.h

Include

#include "Channels/MovieSceneFloatChannel.h"

Source

/Engine/Source/Runtime/MovieScene/Private/Channels/MovieSceneFloatChannel.cpp

Syntax

void PopulateCurvePoints
(
    double StartTimeSeconds,
    double EndTimeSeconds,
    double TimeThreshold,
    float ValueThreshold,
    FFrameRate TickResolution,
    TArray< TTuple< double, double >> & InOutPoints
) const

Remarks

Populate the specified array with times and values that represent the smooth interpolation of this channel across the specified range

Parameters

Parameter

Description

StartTimeSeconds

The first time in seconds to include in the resulting array

EndTimeSeconds

The last time in seconds to include in the resulting array

TimeThreshold

A small time threshold in seconds below which we should stop adding new points

ValueThreshold

A small value threshold below which we should stop adding new points where the linear interpolation would suffice

TickResolution

The tick resolution with which to interpret this channel's times

InOutPoints

An array to populate with the evaluated points

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