Navigation
API > API/Runtime > API/Runtime/Chaos
Buffer structure for communicating simulation state between game and physics threads.
| Name | FGeometryCollectionResults |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollectionProxyData.h |
| Include Path | #include "GeometryCollectionProxyData.h" |
Syntax
class FGeometryCollectionResults : public FRefCountedObject
Inheritance Hierarchy
- FRefCountedObject → FGeometryCollectionResults
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometryCollectionResults() |
GeometryCollectionProxyData.h |
Structs
| Name | Remarks |
|---|---|
| FDamageData | |
| FPositionData | |
| FState | |
| FStateData | |
| FVelocityData |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FEntryIndex | int32 | GeometryCollectionProxyData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IsObjectDynamic | uint8 | GeometryCollectionProxyData.h | ||
| IsObjectLoading | uint8 | GeometryCollectionProxyData.h | ||
| IsRootBroken | uint8 | GeometryCollectionProxyData.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Damages | TArray< FDamageData > | Use to display impulse statistics in editor this is indexed on the transform index | GeometryCollectionProxyData.h | |
| ModifiedTransformIndices | TBitArray | We only store the data for modified transforms ModifiedTransformIndices contains which transform has been set use the API to retrieve the entry Index matching a specific transform index | GeometryCollectionProxyData.h | |
| Positions | TArray< FPositionData > | GeometryCollectionProxyData.h | ||
| SolverDt | Chaos::FReal | GeometryCollectionProxyData.h | ||
| States | TArray< FStateData > | GeometryCollectionProxyData.h | ||
| Velocities | TArray< FVelocityData > | GeometryCollectionProxyData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEntryIndex AddEntry
(
int32 TransformIndex |
GeometryCollectionProxyData.h | ||
const FDamageData & GetDamages
(
int32 TransformIndex |
GeometryCollectionProxyData.h | ||
FEntryIndex GetEntryIndexByTransformIndex
(
int32 TransformIndex |
GeometryCollectionProxyData.h | ||
const TBitArray & GetModifiedTransformIndices() |
GeometryCollectionProxyData.h | ||
int32 GetNumEntries() |
GeometryCollectionProxyData.h | ||
const FPositionData & GetPositions
(
FEntryIndex EntryIndex |
GeometryCollectionProxyData.h | ||
const FStateData & GetState
(
FEntryIndex EntryIndex |
GeometryCollectionProxyData.h | ||
const FVelocityData & GetVelocities
(
FEntryIndex EntryIndex |
GeometryCollectionProxyData.h | ||
void InitArrays
(
const FGeometryDynamicCollection& Collection |
GeometryCollectionProxyData.h | ||
void Reset() |
GeometryCollectionProxyData.h | ||
void SetDamages
(
int32 TransformIndex, |
GeometryCollectionProxyData.h | ||
void SetPositions
(
FEntryIndex EntryIndex, |
GeometryCollectionProxyData.h | ||
void SetSolverDt
(
const Chaos::FReal SolverDtIn |
GeometryCollectionProxyData.h | ||
void SetState
(
int32 EntryIndex, |
GeometryCollectionProxyData.h | ||
void SetVelocities
(
FEntryIndex EntryIndex, |
GeometryCollectionProxyData.h |