Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionParticlesData.h |
| Include | #include "GeometryCollection/GeometryCollectionParticlesData.h" |
Syntax
class FGeometryCollectionParticlesData
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const Chaos::FRigidTransform3 & | GetChildToParentMap
(
int32 Index |
||
| const int32 & | GetCollisionParticlesSize
(
int32 Index |
||
| const TArray< Chaos::TConnectivityEdge< Chaos::FReal > > & | GetConnectivityEdges
(
int32 Index |
||
| const Chaos::FVec3 & | GetF
(
int32 Index |
||
| const Chaos::FImplicitObject *const & | GetGeometry
(
int32 Index |
||
| const Chaos::FVec3 & | GetGeometryBoxMax
(
int32 Index |
||
| const Chaos::FVec3 & | GetGeometryBoxMin
(
int32 Index |
||
| const Chaos::TUniformGrid< Chaos::FReal, 3 > & | GetGeometryLevelSetGrid
(
int32 Index |
||
| const Chaos::FVec3 & | GetGeometrySphereCenter
(
int32 Index |
||
| const Chaos::FReal & | GetGeometrySphereRadius
(
int32 Index |
||
| const Chaos::EImplicitObjectType & | GetGeometryType
(
int32 Index |
||
| const Chaos::FMatrix33 & | GetI
(
int32 Index |
||
| const Chaos::FMatrix33 & | GetInvI
(
int32 Index |
||
| const Chaos::FReal & | GetInvM
(
int32 Index |
||
| const int32 & | GetIsland
(
int32 Index |
||
| const Chaos::FReal & | GetM
(
int32 Index |
||
| const Chaos::FVec3 & | GetP
(
int32 Index |
||
| const Chaos::FVec3 & | GetPreV
(
int32 Index |
||
| const Chaos::FVec3 & | GetPreW
(
int32 Index |
||
| const Chaos::FRotation3 & | GetQ
(
int32 Index |
||
| const Chaos::FRotation3 & | GetR
(
int32 Index |
||
| const Chaos::FVec3 & | GetTorque
(
int32 Index |
||
| const Chaos::FVec3 & | GetV
(
int32 Index |
||
| const Chaos::FVec3 & | GetW
(
int32 Index |
||
| const Chaos::FVec3 & | GetX
(
int32 Index |
||
| const bool & | HasGeometryBoundingBoxm
(
int32 Index |
||
| bool | HasSyncedData
(
EGeometryCollectionParticlesData Data |
Return whether the specified type of data has been copied during the last sync. | |
| const bool & | IsDisabled
(
int32 Index |
||
| const bool & | IsGeometryConvex
(
int32 Index |
||
| const bool & | IsSleeping
(
int32 Index |
||
| bool | RequestSyncedData
(
EGeometryCollectionParticlesData Data |
Shorthand for both setting the flag and checking the data has already been synced. | |
| void | Set all data type to copy at the next sync. | ||
| void | SetDataSyncFlag
(
EGeometryCollectionParticlesData Data |
Set this data type to copy at the next sync. | |
| void | Sync
(
Chaos::FPhysicsSolver* Solver, |
Void Sync(const Chaos::FPhysicsSolver* Solver, const TManagedArray |
|
| FString | ToString
(
int32 Index, |
Return a string with the entire set of value for the synced data of the specified particle. |
Typedefs
| Name | Description |
|---|---|
| FDataFlags | Data bit selection type. |