Navigation
API > API/Plugins > API/Plugins/ChaosVD
Component that references all particle data for a specific solver for the current frame, and handles how the visualization is updated based on that data
| Name | UChaosVDParticleDataComponent |
| Type | class |
| Header File | /Engine/Plugins/ChaosVD/Source/ChaosVD/Public/Components/ChaosVDParticleDataComponent.h |
| Include Path | #include "Components/ChaosVDParticleDataComponent.h" |
Syntax
UCLASS ()
class UChaosVDParticleDataComponent :
public UChaosVDSolverDataComponent ,
public IChaosVDStreamingDataSource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UChaosVDSolverDataComponent → UChaosVDParticleDataComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UChaosVDParticleDataComponent() |
Components/ChaosVDParticleDataComponent.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FTedsHandlesForBatchArray | TArray< UE::Editor::DataStorage::RowHandle, TInlineAllocator< 256, TMemStackAllocator<> > > | Components/ChaosVDParticleDataComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ClearData() |
Components/ChaosVDParticleDataComponent.h | ||
TSharedPtr< FChaosVDBaseSceneObject > GetParticleContainerByType
(
EChaosVDParticleType ParticleType |
Components/ChaosVDParticleDataComponent.h | ||
TSharedPtr< FChaosVDBaseSceneObject > GetParticleContainerByType_AssumesLocked
(
EChaosVDParticleType ParticleType |
Components/ChaosVDParticleDataComponent.h | ||
TSharedPtr< FChaosVDSceneParticle > GetParticleInstanceByID
(
int32 ParticleID |
Components/ChaosVDParticleDataComponent.h | ||
TSharedPtr< FChaosVDSceneParticle > GetParticleInstanceByID_AssumesLocked
(
int32 ParticleID |
Components/ChaosVDParticleDataComponent.h | ||
const TSortedMap< EChaosVDParticleType, TSharedPtr< FChaosVDBaseSceneObject > > & GetParticleSceneContainersByType() |
Components/ChaosVDParticleDataComponent.h | ||
FChaosVDSceneParticle * GetSelectedParticle() |
Components/ChaosVDParticleDataComponent.h | ||
void VisitAllParticleData
(
TCallback VisitCallback |
Components/ChaosVDParticleDataComponent.h | ||
void VisitAllParticleInstances
(
TCallback VisitCallback |
Components/ChaosVDParticleDataComponent.h | ||
void VisitSelectedParticleData
(
TCallback VisitCallback |
Components/ChaosVDParticleDataComponent.h |
Overridden from UChaosVDSolverDataComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AppendSceneCompositionTestData
(
FChaosVDSceneCompositionTestData& OutStateTestData |
Appends Scene Data relevant for functional tests | Components/ChaosVDParticleDataComponent.h | |
virtual void HandleWorldStreamingLocationUpdated
(
const FVector& InLocation |
Components/ChaosVDParticleDataComponent.h | ||
virtual void SetScene
(
const TWeakPtr< FChaosVDScene >& InSceneWeakPtr |
Components/ChaosVDParticleDataComponent.h | ||
virtual void SetVisibility
(
bool bNewIsVisible |
Components/ChaosVDParticleDataComponent.h | ||
virtual void UpdateFromNewSolverStageData
(
const FChaosVDSolverFrameData& InSolverFrameData, |
Components/ChaosVDParticleDataComponent.h | ||
virtual void UpdateFromSolverFrameData
(
const FChaosVDSolverFrameData& InSolverFrameData |
Components/ChaosVDParticleDataComponent.h |
Overridden from IChaosVDStreamingDataSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FRWLock & GetObjectsLock() |
Components/ChaosVDParticleDataComponent.h | ||
virtual TConstArrayView< TSharedRef< FChaosVDBaseSceneObject > > GetStreamableSceneObjects() |
BEGIN IChaosVDStreamingDataSource. | Components/ChaosVDParticleDataComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BatchApplySolverVisibilityToParticle
(
bool bNewIsVisible |
Components/ChaosVDParticleDataComponent.h | ||
void BatchTEDSAddRemoveTags
(
UE::Editor::DataStorage::ICoreProvider* EditorDataStorage, |
Components/ChaosVDParticleDataComponent.h | ||
void BatchTEDSCombinedSyncFromWorldAndActiveTag
(
FTedsHandlesForBatchArray& ParticlesPendingCombinedTEDSTagSync, |
Components/ChaosVDParticleDataComponent.h | ||
void BatchTEDSSyncFromWorldTag
(
FTedsHandlesForBatchArray& ParticlesPendingTEDSTagSync, |
Components/ChaosVDParticleDataComponent.h | ||
TSharedRef< FChaosVDSceneParticle > CreateSceneParticle_AssumesLocked
(
const TSharedRef< FChaosVDParticleDataWrapper >& InParticleData, |
Creates an ChaosVDParticle actor for the Provided recorded Particle Data | Components/ChaosVDParticleDataComponent.h | |
int32 GetMaxElementCountForBatchTEDSUpdate_AssumesLocked() |
Components/ChaosVDParticleDataComponent.h | ||
const FString & GetSolverName() |
Components/ChaosVDParticleDataComponent.h | ||
void HandleColorsSettingsUpdated
(
UObject* SettingsObject |
Components/ChaosVDParticleDataComponent.h | ||
void HandleVisibilitySettingsUpdated
(
UObject* SettingsObject |
Components/ChaosVDParticleDataComponent.h | ||
bool IsServerData() |
Components/ChaosVDParticleDataComponent.h | ||
void ProcessRemovedParticles_AssumessLocked
(
const TSharedRef< FChaosVDScene >& SceneRef, |
Components/ChaosVDParticleDataComponent.h |