Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/GeometryCollection
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/RecordedTransformTrack.h |
| Include | #include "GeometryCollection/RecordedTransformTrack.h" |
Syntax
struct FRecordedTransformTrack
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FRecordedFrame > | Records |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | FindLastKeyBefore
(
float InTime |
Finds the index of the key immediately before the provided time. | |
| const FRecordedFrame * | FindRecordedFrame
(
float InTime, |
Find a frame at InTime if available within a specified tolarance of the timestamp | |
| FRecordedFrame * | FindRecordedFrame
(
float InTime, |
Find a frame at InTime if available within a specified tolarance of the timestamp | |
| int32 | FindRecordedFrameIndex
(
float InTime, |
Find a frame index at InTime if available within a specified tolarance of the timestamp | |
| FVector | GetAngularVelocityAtTime
(
int32 InIndex, |
Get an interpolated angular velocity for the specified particle at the provided time - using SampleWidth to pick out a window of interpolation | |
| bool | GetDisabledAtTime
(
int32 InIndex, |
Get whether a particle is disabled at a provided time | |
| float | GetDt () |
||
| void | GetFramesForTime
(
float InTime, |
Given a time, return either one or two frames. | |
| FVector | GetLinearVelocityAtTime
(
int32 InIndex, |
Get an interpolated linear velocity for the specified particle at the provided time - using SampleWidth to pick out a window of interpolation | |
| FTransform | GetTransformAtTime
(
int32 InIndex, |
Given a time, get an interpolated transform from the track for a provided particle | |
| bool | GetWasActiveInWindow
(
int32 InIndex, |
Given two times, find out if the provided particle was ever active within them | |
| bool | IsTimeValid
(
float InTime |
Validates that the time is within the track timestamp bounds (inclusive) | |
| FRecordedTransformTrack | ProcessRawRecordedData
(
const FRecordedTransformTrack& InCache |