#include <RecordedTransformTrack.h>
|
| float | GetDt () const |
| |
| bool | IsTimeValid (float InTime) const |
| |
| int32 | FindLastKeyBefore (float InTime) const |
| |
| const FRecordedFrame * | FindRecordedFrame (float InTime, float InTolerance=UE_SMALL_NUMBER) const |
| |
| FRecordedFrame * | FindRecordedFrame (float InTime, float InTolerance=UE_SMALL_NUMBER) |
| |
| int32 | FindRecordedFrameIndex (float InTime, float InTolerance=UE_SMALL_NUMBER) const |
| |
| void | GetFramesForTime (float InTime, const FRecordedFrame *&OutFirst, const FRecordedFrame *&OutSecond) const |
| |
| FTransform | GetTransformAtTime (int32 InIndex, float InTime) const |
| |
| bool | GetDisabledAtTime (int32 InIndex, float InTime) const |
| |
| bool | GetWasActiveInWindow (int32 InIndex, float InBeginTime, float InEndTime) const |
| |
| FVector | GetLinearVelocityAtTime (int32 InIndex, float InTime, float SampleWidth=1.0f/120.0f) const |
| |
| FVector | GetAngularVelocityAtTime (int32 InIndex, float InTime, float SampleWidth=1.0f/120.0f) const |
| |
◆ FindLastKeyBefore()
| int32 FRecordedTransformTrack::FindLastKeyBefore |
( |
float |
InTime | ) |
const |
|
inline |
Finds the index of the key immediately before the provided time. Or the exact frame in the case of an exact time match
◆ FindRecordedFrame() [1/2]
Find a frame at InTime if available within a specified tolarance of the timestamp
◆ FindRecordedFrame() [2/2]
Find a frame at InTime if available within a specified tolarance of the timestamp
◆ FindRecordedFrameIndex()
Find a frame index at InTime if available within a specified tolarance of the timestamp
◆ GetAngularVelocityAtTime()
| FVector FRecordedTransformTrack::GetAngularVelocityAtTime |
( |
int32 |
InIndex, |
|
|
float |
InTime, |
|
|
float |
SampleWidth = 1.0f / 120.0f |
|
) |
| const |
|
inline |
Get an interpolated angular velocity for the specified particle at the provided time - using SampleWidth to pick out a window of interpolation
◆ GetDisabledAtTime()
| bool FRecordedTransformTrack::GetDisabledAtTime |
( |
int32 |
InIndex, |
|
|
float |
InTime |
|
) |
| const |
|
inline |
Get whether a particle is disabled at a provided time
◆ GetDt()
| float FRecordedTransformTrack::GetDt |
( |
| ) |
const |
|
inline |
◆ GetFramesForTime()
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.
◆ GetLinearVelocityAtTime()
| FVector FRecordedTransformTrack::GetLinearVelocityAtTime |
( |
int32 |
InIndex, |
|
|
float |
InTime, |
|
|
float |
SampleWidth = 1.0f / 120.0f |
|
) |
| const |
|
inline |
Get an interpolated linear velocity for the specified particle at the provided time - using SampleWidth to pick out a window of interpolation
◆ GetTransformAtTime()
Given a time, get an interpolated transform from the track for a provided particle
◆ GetWasActiveInWindow()
| bool FRecordedTransformTrack::GetWasActiveInWindow |
( |
int32 |
InIndex, |
|
|
float |
InBeginTime, |
|
|
float |
InEndTime |
|
) |
| const |
|
inline |
Given two times, find out if the provided particle was ever active within them
◆ IsTimeValid()
| bool FRecordedTransformTrack::IsTimeValid |
( |
float |
InTime | ) |
const |
|
inline |
Validates that the time is within the track timestamp bounds (inclusive)
◆ ProcessRawRecordedData()
◆ Records
The documentation for this struct was generated from the following files: