Navigation
API > API/Plugins > API/Plugins/ChaosVD
Interface with a default implementation for any Geometry component that contains CVD data
| Name | IChaosVDGeometryComponent |
| Type | class |
| Header File | /Engine/Plugins/ChaosVD/Source/ChaosVD/Public/ChaosVDGeometryDataComponent.h |
| Include Path | #include "ChaosVDGeometryDataComponent.h" |
Syntax
class IChaosVDGeometryComponent
Enums
Public
| Name | Remarks |
|---|---|
| ERemovalMode | Adds a new instance to this mesh component, but using an existing Mesh Data Handle instead of creating a new one |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GetMeshComponentAttributeFlags | void virtual UpdateVisibilityForInstance(const TSharedRef< FChaosVDInstancedMeshData > &InInstanceHandle) PURE_VIRTUAL(IChaosVDGeometryDataComponent void virtual UpdateSelectionStateForInstance(const TSharedRef< FChaosVDInstancedMeshData > &InInstanceHandle) PURE_VIRTUAL(IChaosVDGeometryDataComponent void virtual UpdateColorForInstance(const TSharedRef< FChaosVDInstancedMeshData > &InInstanceHandle) PURE_VIRTUAL(IChaosVDGeometryDataComponent void virtual UpdateWorldTransformForInstance(const TSharedRef< FChaosVDInstancedMeshData > &InInstanceHandle) PURE_VIRTUAL(IChaosVDGeometryDataComponent void virtual SetMeshComponentAttributeFlags(EChaosVDMeshAttributesFlagsFlags) PURE_VIRTUAL(IChaosVDGeometryDataComponent EChaosVDMeshAttributesFlag | Updates the visibility of this component based on the stored CVD data Changes the selection state of the provided instance - Used for Selection in Editor Updates the colors of this component based on the stored CVD data Updates the colors of this component based on the stored CVD data Sets the CVD Mesh Attribute flags this component is compatible with Returns the CVD Mesh Attribute flags this component is compatible with | ChaosVDGeometryDataComponent.h | |
| IsMeshReady | void virtual RemoveMeshInstance(const TSharedRef< FChaosVDInstancedMeshData > &InHandleToRemove, ERemovalMode Mode=ERemovalMode::Deferred) PURE_VIRTUAL(IChaosVDGeometryDataComponent boo | Removes the instance the provided handle represents | ChaosVDGeometryDataComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< FChaosVDInstancedMeshData > AddMeshInstance
(
const FTransform InstanceTransform, |
Add a new instance to this mesh component | ChaosVDGeometryDataComponent.h | |
virtual uint32 GetGeometryKey() |
Returns the Geometry Handle used to identify the geometry data this component represents | ChaosVDGeometryDataComponent.h | |
virtual bool GetIsDestroyed() |
ChaosVDGeometryDataComponent.h | ||
virtual void virtual Reset() PURE_VIRTUAL(IChaosVDGeometryDataComponent void virtual Initialize() PURE_VIRTUAL(IChaosVDGeometryDataComponent void virtual SetGeometryBuilder(TWeakPtr< FChaosVDGeometryBuilder > GeometryBuilder) PURE_VIRTUAL(IChaosVDGeometryDataComponent EChaosVDMaterialType GetMaterialType() |
Resets the state of this mesh component, so it can be re-used later on Sets a Ptr to the geometry builder used to generate and manage the geometry/mesh components | ChaosVDGeometryDataComponent.h | |
virtual TSharedPtr< FChaosVDInstancedMeshData > GetMeshDataInstanceHandle
(
int32 InstanceIndex |
Returns the CVD Mesh Data Instance handle for the provided Instance index | ChaosVDGeometryDataComponent.h | |
virtual FChaosVDMeshComponentEmptyDelegate * OnComponentEmpty () |
Triggers when the component does not have any instance to render. | ChaosVDGeometryDataComponent.h | |
virtual void virtual SetIsMeshReady(bool bIsReady) PURE_VIRTUAL(IChaosVDGeometryDataComponent FChaosVDMeshReadyDelegate * OnMeshReady() |
Sets if the mesh this component represents is ready for use or not Triggers when the mesh this component represents is ready | ChaosVDGeometryDataComponent.h |