Navigation
API > API/Runtime > API/Runtime/ChaosVDData
Handle to user-defined data types in a CVD recorded frame. These handles share ownership of the data
| Name | FChaosVDCustomUserDataHandle |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/ChaosVDData/Public/ChaosVDRecording.h |
| Include Path | #include "ChaosVDRecording.h" |
Syntax
struct FChaosVDCustomUserDataHandle
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DataSharedPtr | TSharedPtr< void > | ChaosVDRecording.h | ||
| DataStruct | TSharedPtr< FStructOnScope > | ChaosVDRecording.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DataStructType * GetData() |
Returns a raw ptr to the data this handle provides access to. | ChaosVDRecording.h | |
TSharedPtr< DataStructType > GetDataAsShared() |
Returns a shared ptr to the data this handle provides access to | ChaosVDRecording.h | |
FName GetTypeName() |
Returns the FName of the UStruct type that this handle represents | ChaosVDRecording.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FChaosVDCustomUserDataHandle MakeHandle
(
const TSharedRef< DataStructType >& DataPtr |
Creates a handle for the provided data instance. This handle will hold a reference to the data | ChaosVDRecording.h |