UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FChaosVDCustomFrameData Struct Reference

#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 ()
 

Member Function Documentation

◆ AddData()

void FChaosVDCustomFrameData::AddData ( const FChaosVDCustomUserDataHandle InData)

◆ GetData()

template<typename DataType >
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

◆ GetOrAddDefaultData()

template<typename DataType >
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.


The documentation for this struct was generated from the following files: