engine
 
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
FRecordedFrame结构体 参考

Structure describing necessary data to record the results of a physics simulation for rigids. 更多...

#include <RecordedTransformTrack.h>

Public 属性

TArray< bool > DisabledFlags
 Per-particle list of whether or not they were disabled on this frame. 更多...
 
TArray< int32 > PreviousTransformIndices
 Maps to the position in the Transforms array of the previous frame that this entry existed. 更多...
 
TArray< int32 > TransformIndices
 After processing, this will map a transform index within this frame out to a body/particle index for the component. 更多...
 
TArray< FTransform > Transforms
 List of transforms recorded for this frame. 更多...
 

详细描述

Structure describing necessary data to record the results of a physics simulation for rigids.

Primarily for recording the results of a geometry collection simulation for later playback

类成员变量说明

◆ DisabledFlags

TArray<bool> FRecordedFrame::DisabledFlags

Per-particle list of whether or not they were disabled on this frame.

#BGallagher change this to be event based - expensive on memory and beginframe iterations

◆ PreviousTransformIndices

TArray<int32> FRecordedFrame::PreviousTransformIndices

Maps to the position in the Transforms array of the previous frame that this entry existed.

They can move around as particles either become disabled/enabled or if a particle didn't move since the last frame. This allows us to pick up previous positions for velocities etc.

◆ TransformIndices

TArray<int32> FRecordedFrame::TransformIndices

After processing, this will map a transform index within this frame out to a body/particle index for the component.

This will map back to where the transform was before processing.

◆ Transforms

TArray<FTransform> FRecordedFrame::Transforms

List of transforms recorded for this frame.

During execution maps one-to-one with the number of particles. This is handed off for processing when written back to the collection. This processing will remove redundant transforms and populate the indices in FRecordedFrame to handle the remapping


该结构体的文档由以下文件生成: