Navigation
API > API/Plugins > API/Plugins/ChaosVD
Solver data component that reads FChaosVDParticleExtraDataContainer from the current solver frame and injects the recorded structs into the CVD particle details panel.
Added to AChaosVDSolverInfoActor as a default subobject. It binds to FChaosVDScene::OnParticleDetailsExtraDataRequested and for each selected particle adds the traced categories to the IDetailLayoutBuilder, so the extra data appears alongside "Particle Data" in the details panel (and in "Show Data in New Panel").
On subsequent frame changes (OnParticleDetailsExtraDataRefreshRequested), it updates the cached FStructOnScope memory in-place so Slate picks up the new values without requiring a full layout rebuild.
| Name | UChaosVDParticleExtraDataComponent |
| Type | class |
| Header File | /Engine/Plugins/ChaosVD/Source/ChaosVD/Public/Components/ChaosVDParticleExtraDataComponent.h |
| Include Path | #include "Components/ChaosVDParticleExtraDataComponent.h" |
Syntax
UCLASS (MinimalAPI)
class UChaosVDParticleExtraDataComponent : public UChaosVDSolverDataComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UChaosVDSolverDataComponent → UChaosVDParticleExtraDataComponent
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedParticleID | int32 | Components/ChaosVDParticleExtraDataComponent.h | ||
| CachedScopeEntries | TArray< FChaosVDExtraDataScopeEntry > | Stable FStructOnScope instances added to the details panel for the currently selected particle. | Components/ChaosVDParticleExtraDataComponent.h | |
| CachedSolverID | int32 | Solver/particle for which CachedScopeEntries were built. | Components/ChaosVDParticleExtraDataComponent.h | |
| CurrentFrameContainer | TSharedPtr< FChaosVDParticleExtraDataContainer > | Extra data container for the current frame, looked up once per frame update. | Components/ChaosVDParticleExtraDataComponent.h | |
| ExtraDataDelegateHandle | FDelegateHandle | Components/ChaosVDParticleExtraDataComponent.h | ||
| RefreshDelegateHandle | FDelegateHandle | Components/ChaosVDParticleExtraDataComponent.h |