Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine
Object holding selected particles data for a specific range of rigid body ids. Use SetDataSyncFlag, SetAllDataSyncFlag, or RequestSyncedData to have the required data made available at the next tick. Each time Sync is called, the particles' data is copied and the sync flags cleared. Use HasSyncedData or RequestSyncedData to check which data is available at any one time.
| Name | FGeometryCollectionParticlesData |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionParticlesData.h |
| Include Path | #include "GeometryCollection/GeometryCollectionParticlesData.h" |
Syntax
class FGeometryCollectionParticlesData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometryCollectionParticlesData() |
Constructor. | GeometryCollection/GeometryCollectionParticlesData.h |
Structs
| Name | Remarks |
|---|---|
| FData | Structure used to exchange data between game and physics thread. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDataFlags | TStaticBitArray< uint32(EGeometryCollectionParticlesData::Count)> | Data bit selection type. | GeometryCollection/GeometryCollectionParticlesData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BufferedData | Chaos::TBufferedData< FData > | GeometryCollection/GeometryCollectionParticlesData.h | ||
| ChaosModule | const FChaosSolversModule * | GeometryCollection/GeometryCollectionParticlesData.h | ||
| GameSyncCount | int32 | GeometryCollection/GeometryCollectionParticlesData.h | ||
| PhysicsSyncCount | FThreadSafeCounter | GeometryCollection/GeometryCollectionParticlesData.h | ||
| SyncFrame | uint64 | GeometryCollection/GeometryCollectionParticlesData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const Chaos::FRigidTransform3 & GetChildToParentMap
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const int32 & GetCollisionParticlesSize
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const TArray< Chaos::TConnectivityEdge< Chaos::FReal > > & GetConnectivityEdges
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetF
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FImplicitObject *const & GetGeometry
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetGeometryBoxMax
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetGeometryBoxMin
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::TUniformGrid< Chaos::FReal, 3 > & GetGeometryLevelSetGrid
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetGeometrySphereCenter
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FReal & GetGeometrySphereRadius
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::EImplicitObjectType & GetGeometryType
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FMatrix33 & GetI
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FMatrix33 & GetInvI
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FReal & GetInvM
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const int32 & GetIsland
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FReal & GetM
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetP
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetPreV
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetPreW
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FRotation3 & GetQ
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FRotation3 & GetR
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetTorque
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetV
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetW
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const Chaos::FVec3 & GetX
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const bool & HasGeometryBoundingBoxm
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
bool HasSyncedData
(
EGeometryCollectionParticlesData Data |
Return whether the specified type of data has been copied during the last sync. | GeometryCollection/GeometryCollectionParticlesData.h | |
const bool & IsDisabled
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const bool & IsGeometryConvex
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
const bool & IsSleeping
(
int32 Index |
GeometryCollection/GeometryCollectionParticlesData.h | ||
bool RequestSyncedData
(
EGeometryCollectionParticlesData Data |
Shorthand for both setting the flag and checking the data has already been synced. | GeometryCollection/GeometryCollectionParticlesData.h | |
void SetAllDataSyncFlag() |
Set all data type to copy at the next sync. | GeometryCollection/GeometryCollectionParticlesData.h | |
void SetDataSyncFlag
(
EGeometryCollectionParticlesData Data |
Set this data type to copy at the next sync. | GeometryCollection/GeometryCollectionParticlesData.h | |
void Sync
(
Chaos::FPhysicsSolver* Solver, |
Void Sync(const Chaos::FPhysicsSolver* Solver, const TManagedArray |
GeometryCollection/GeometryCollectionParticlesData.h | |
FString ToString
(
int32 Index, |
Return a string with the entire set of value for the synced data of the specified particle. | GeometryCollection/GeometryCollectionParticlesData.h |