FRecordedTransformTrack::GetFramesForTime

Given a time, return either one or two frames.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/RecordedTransformTrack.h

Include

#include "GeometryCollection/RecordedTransformTrack.h"

Syntax

void GetFramesForTime
(
    float InTime,
    const FRecordedFrame *& OutFirst,
    const FRecordedFrame *& OutSecond
) const

Remarks

Given a time, return either one or two frames. If InTime is exactly on a frame then only that frame is returned. If we are beyond the end of the track only the last is returned. For times in the middle of the track that are not exactly on a frame then the frame before and after the time are returned.

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