Navigation
API > API/Plugins > API/Plugins/ChaosFleshEngine
UDeformableTetrahedralComponent
| Name | UDeformableTetrahedralComponent |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEngine/Public/ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
| Include Path | #include "ChaosFlesh/ChaosDeformableTetrahedralComponent.h" |
Syntax
UCLASS (Meta=(BlueprintSpawnableComponent))
class UDeformableTetrahedralComponent :
public UDeformablePhysicsComponent ,
public IDataflowGeometryCachable
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UDeformablePhysicsComponent → UDeformableTetrahedralComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsComponent
- IDeformableInterface
- IDataflowGeometryCachable
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDeformableTetrahedralComponent
(
const FObjectInitializer& ObjectInitializer |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UDeformableTetrahedralComponent() |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
Structs
| Name | Remarks |
|---|---|
| FFleshRenderMesh | Render the Procedural Mesh |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FFleshThreadingProxy | Chaos::Softs::FFleshThreadingProxy | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BodyForces | FBodyForcesGroup | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
|
| HideTetrahedra | TArray< int32 > | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
|
| MassMultiplier | float | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
|
| Material | TObjectPtr< UMaterialInterface > | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
|
| Mesh | TObjectPtr< UProceduralMeshComponent > | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
|
| SimulationSpace | FFleshSimulationSpaceGroup | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBoundsNeedsUpdate | bool | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
| BoundingBox | FBoxSphereBounds | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
| DynamicCollection | TObjectPtr< UFleshDynamicAsset > | Current simulation state. | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | |
| GPUBufferManager | Chaos::Softs::FChaosFleshDeformableGPUManager | FChaosDeformableTetrahedralSceneProxy* RenderProxy = nullptr;. | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | |
| PrevTransform | FTransform | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
| RenderMesh | FFleshRenderMesh * | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
| RestCollection | TObjectPtr< const UFleshAsset > | FleshAsset that describes the simulation rest state. | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
| SimulationCollection | TObjectPtr< USimulationAsset > | Simulator input | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UFleshDynamicAsset * GetDynamicCollection () |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
| ChaosFlesh/ChaosDeformableTetrahedralComponent.h | |||
Chaos::Softs::FChaosFleshDeformableGPUManager & GetGPUBufferManager() |
UPrimitiveComponent Interface GPU Interface | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | |
const UFleshAsset * GetRestCollection() |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
|
| ChaosFlesh/ChaosDeformableTetrahedralComponent.h | |||
const USimulationAsset * GetSimulationCollection () |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
TArray< FVector > GetSkeletalMeshBindingPositions
(
const USkeletalMesh* InSkeletalMesh |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
|
TArray< FVector > GetSkeletalMeshEmbeddedPositions
(
const ChaosDeformableBindingOption Format, |
Get the current positions of the transformation hierarchy from `TargetDeformationSkeleton_, deformed by the tetrahedral mesh. | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
void Invalidate() |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
void ResetDynamicCollection() |
DynamicCollection | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | |
void ResetSimulationCollection() |
SimulationCollection | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | |
void SetRestCollection
(
const UFleshAsset* InRestCollection |
RestCollection | ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
|
void UpdateLocalBounds() |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
Overridden from UDeformablePhysicsComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FDataMapValue NewDeformableData() |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
virtual FThreadingProxy * NewProxy() |
Simulation Interface | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | |
virtual void UpdateFromSimulation
(
const FDataMapValue* SimulationBuffer |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
virtual FDataMapValue WriteRestartDataToSimulation() |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
Overridden from UPrimitiveComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetMaterial
(
int32 Index, |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
Overridden from USceneComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBoxSphereBounds CalcBounds
(
const FTransform& LocalToWorld |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
USceneComponent Interface | ChaosFlesh/ChaosDeformableTetrahedralComponent.h | |
virtual void EndPlay
(
const EEndPlayReason::Type ReasonEnd |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
virtual void OnRegister() |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
virtual void TickComponent
(
float DeltaTime, |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
Overridden from IDataflowGeometryCachable
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< FVector3f > GetGeometryCachePositions
(
const UStaticMesh* StaticMesh |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
virtual TArray< FVector3f > GetGeometryCachePositions
(
const USkeletalMesh* SkeletalMesh |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
virtual TOptional< TArray< int32 > > GetMeshImportVertexMap
(
const USkinnedAsset& SkinnedMeshAsset |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h | ||
virtual bool IsSkeletalMeshAnimationCompatible
(
const USkeletalMeshComponent* SkeletalMeshComponent |
ChaosFlesh/ChaosDeformableTetrahedralComponent.h |