Navigation
API > API/Plugins > API/Plugins/ChaosUserDataPT
Input is a collection of pointers to new and updated userdata objects to be sent to the physics thread
NOTE: On deprecation strategy here. The members of this struct should never have been public, so they have all been deprecated. Private duplicates are now in use, but those will be renamed to the original names once the deprecated versions are removed.
Copies are needed so that during the deprecation phase the internal TUserDataManagerPT code doesn't trigger deprecation warnings for valid operations.
| Name | TUserDataManagerPTInput |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosUserDataPT/Source/ChaosUserDataPT/Public/ChaosUserDataPT.h |
| Include Path | #include "ChaosUserDataPT.h" |
Syntax
template<typename TUserData>
struct TUserDataManagerPTInput : public Chaos::FSimCallbackInput
Inheritance Hierarchy
- FSimCallbackInput → TUserDataManagerPTInput
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClear | bool | ChaosUserDataPT.h | ||
| bResizeOnClear | bool | ChaosUserDataPT.h | ||
| Identifier | uint32 | ChaosUserDataPT.h | ||
| UserDataToAdd | TMap< FUniqueIdx, TUniquePtr< TUserData > > | ChaosUserDataPT.h | ||
| UserDataToRemove | TSet< FUniqueIdx > | ChaosUserDataPT.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClearPrivate | bool | Flag for clearing all data. | ChaosUserDataPT.h | |
| bResize | bool | Flag for resizing container to fit data. | ChaosUserDataPT.h | |
| IdentifierPrivate | uint32 | Monotonically increasing identifier for the input object. | ChaosUserDataPT.h | |
| UserDataToAddPrivate | TMap< FUniqueIdx, TUniquePtr< TUserData > > | Map of particle unique indices to user data ptrs | ChaosUserDataPT.h | |
| UserDataToRemovePrivate | TSet< FUniqueIdx > | Set of particle unique indices for which to remove user data. | ChaosUserDataPT.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Reset() |
ChaosUserDataPT.h |