engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
TGeometryCollectionParticlesData< T, d > 模板类 参考

Object holding selected particles data for a specific range of rigid body ids. 更多...

#include <GeometryCollectionParticlesData.h>

Public 成员函数

bool HasSyncedData (EGeometryCollectionParticlesData Data) const
 Return whether the specified type of data has been copied during the last sync.
 
bool RequestSyncedData (EGeometryCollectionParticlesData Data) const
 Shorthand for both setting the flag and checking the data has already been synced.
 
void SetAllDataSyncFlag () const
 Set all data type to copy at the next sync.
 
void SetDataSyncFlag (EGeometryCollectionParticlesData Data) const
 Set this data type to copy at the next sync.
 
void Sync (Chaos::FPhysicsSolver *Solver, const TManagedArray< FGuid > &RigidBodyIds)
 Copy the data of the specified set of particles/rigid body ids to this object.
 
 TGeometryCollectionParticlesData ()
 Constructor.
 
FString ToString (int32 Index, const TCHAR *Separator=TEXT(", ")) const
 Return a string with the entire set of value for the synced data of the specified particle.
 

详细描述

template<class T, int d>
class TGeometryCollectionParticlesData< T, d >

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.


该类的文档由以下文件生成: