![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ChaosVDRecording.h>
Public Member Functions | |
| UE_API void | AddData (const FChaosVDCustomUserDataHandle &InData) |
| template<typename DataType > | |
| TSharedPtr< DataType > | GetData () const |
| template<typename DataType > | |
| TSharedPtr< DataType > | GetOrAddDefaultData () |
| void FChaosVDCustomFrameData::AddData | ( | const FChaosVDCustomUserDataHandle & | InData | ) |
| TSharedPtr< DataType > FChaosVDCustomFrameData::GetData | ( | ) | const |
Returns the shared ptr to a custom data instance, if such data type was added to this frame. If the data type was not loaded, the ptr will be null
| TSharedPtr< DataType > FChaosVDCustomFrameData::GetOrAddDefaultData | ( | ) |
Returns the shared ptr to a custom data instance, if such data type was added to this frame. If the data type was not loaded, a new instance will be created and automatically added to the frame's data.