FRecordedTransformTrack

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "GeometryCollection/RecordedTransformTrack.h"

Syntax

struct FRecordedTransformTrack

Variables

Name Description

Public variable

TArray< FRecord...

 

Records

Functions

Name Description

Public function Const

int32

 

FindLastKeyBefore

(
    float InTime
)

Finds the index of the key immediately before the provided time.

Public function Const

const FRecor...

 

FindRecordedFrame

(
    float InTime,
    float InTolerance
)

Find a frame at InTime if available within a specified tolarance of the timestamp

Public function

FRecordedFra...

 

FindRecordedFrame

(
    float InTime,
    float InTolerance
)

Find a frame at InTime if available within a specified tolarance of the timestamp

Public function Const

int32

 

FindRecordedFrameIndex

(
    float InTime,
    float InTolerance
)

Find a frame index at InTime if available within a specified tolarance of the timestamp

Public function Const

FVector

 

GetAngularVelocityAtTime

(
    int32 InIndex,
    float InTime,
    float SampleWidth
)

Get an interpolated angular velocity for the specified particle at the provided time - using SampleWidth to pick out a window of interpolation

Public function Const

bool

 

GetDisabledAtTime

(
    int32 InIndex,
    float InTime
)

Get whether a particle is disabled at a provided time

Public function Const

float

 

GetDt()

Public function Const

void

 

GetFramesForTime

(
    float InTime,
    const FRecordedFrame*& OutFirs...,
    const FRecordedFrame*& OutSeco...
)

Given a time, return either one or two frames.

Public function Const

int32

 

GetLastTime()

Public function Const

FVector

 

GetLinearVelocityAtTime

(
    int32 InIndex,
    float InTime,
    float SampleWidth
)

Get an interpolated linear velocity for the specified particle at the provided time - using SampleWidth to pick out a window of interpolation

Public function Const

FTransform

 

GetTransformAtTime

(
    int32 InIndex,
    float InTime
)

Given a time, get an interpolated transform from the track for a provided particle

Public function Const

bool

 

GetWasActiveInWindow

(
    int32 InIndex,
    float InBeginTime,
    float InEndTime
)

Given two times, find out if the provided particle was ever active within them

Public function Const

bool

 

IsTimeValid

(
    float InTime
)

Validates that the time is within the track timestamp bounds (inclusive)

Public function Static

FRecordedTra...

 

ProcessRawRecordedData

(
    const FRecordedTransformTrack& InC...
)

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