Navigation
API > API/Plugins > API/Plugins/ChaosVD
| Name | FChaosVDGeometryComponentUtils |
| Type | class |
| Header File | /Engine/Plugins/ChaosVD/Source/ChaosVD/Public/ChaosVDGeometryDataComponent.h |
| Include Path | #include "ChaosVDGeometryDataComponent.h" |
Syntax
class FChaosVDGeometryComponentUtils
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CachedParticleColorSettings | TObjectPtr< UChaosVDParticleVisualizationColorSettings > | ChaosVDGeometryDataComponent.h | |
| CachedParticleVisualizationSettings | TObjectPtr< UChaosVDParticleVisualizationSettings > | ChaosVDGeometryDataComponent.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UMaterialInterface * GetBaseMaterialForType
(
EChaosVDMaterialType Type |
Returns the material to use as a base to create material instances for the provided type | ChaosVDGeometryDataComponent.h | |
static FLinearColor GetGeometryParticleColor
(
const TSharedRef< FChaosVDExtractedGeometryDataHandle >& InGeometryHandle, |
Returns the color that needs to be used to present the provided particle data based on its state and current selected options | ChaosVDGeometryDataComponent.h | |
static EChaosVDMaterialType GetMaterialTypeForComponent
(
EChaosVDMeshAttributesFlags MeshAttributes |
Returns the correct material type to use based on the provided Component type and Mesh Attributes | ChaosVDGeometryDataComponent.h | |
static const UChaosVDParticleVisualizationColorSettings * GetParticleColorSettings() |
ChaosVDGeometryDataComponent.h | ||
static const UChaosVDParticleVisualizationSettings * GetParticleVisualizationSettings() |
ChaosVDGeometryDataComponent.h | ||
static void UpdateCollisionDataFromShapeArray
(
TArrayView< FChaosVDShapeCollisionData > InShapeArray, |
Finds and updates the Shape data using the provided array as source | ChaosVDGeometryDataComponent.h | |
static void UpdateMeshColor
(
const TSharedRef< FChaosVDInstancedMeshData >& InInstanceHandle, |
Calculates and updates the color used to render the mesh represented by the provided handle, based on the particle state | ChaosVDGeometryDataComponent.h | |
static void UpdateMeshVisibility
(
const TSharedRef< FChaosVDInstancedMeshData >& InInstanceHandle, |
Calculates the correct visibility state based on the particle state, and applies it to the mesh instance the provided handle represents | ChaosVDGeometryDataComponent.h |