Navigation
API > API/Plugins > API/Plugins/ChaosFleshEngine > API/Plugins/ChaosFleshEngine/ChaosFlesh
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UDeformablePhysicsComponent
- UDeformableTetrahedralComponent
- UDeformableGameplayComponent
- UFleshComponent
References
| Module | ChaosFleshEngine |
| Header | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEngine/Public/ChaosFlesh/ChaosDeformableTetrahedralComponent.h |
| Include | #include "ChaosFlesh/ChaosDeformableTetrahedralComponent.h" |
Syntax
UCLASS (Meta=(BlueprintSpawnableComponent))
class UDeformableTetrahedralComponent :
public UDeformablePhysicsComponent ,
public IDataflowGeometryCachable
Remarks
UDeformableTetrahedralComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| FBodyForcesGroup | BodyForces | ||
| TArray< int32 > | HideTetrahedra | ||
| float | MassMultiplier | ||
| TObjectPtr< UMaterialInterface > | Material | ||
| TObjectPtr< UProceduralMeshComponent > | Mesh | ||
| FFleshSimulationSpaceGroup | SimulationSpace |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDeformableTetrahedralComponent
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const UFleshDynamicAsset * | |||
| UFleshDynamicAsset * | |||
| Chaos::Softs::FChaosFleshDeformableGPUManager & | UPrimitiveComponent Interface GPU Interface | ||
| const UFleshAsset * | |||
| USimulationAsset * | |||
| const USimulationAsset * | |||
| TArray< FVector > | GetSkeletalMeshBindingPositions
(
const USkeletalMesh* InSkeletalMesh |
||
| TArray< FVector > | GetSkeletalMeshEmbeddedPositions
(
const ChaosDeformableBindingOption Format, |
Get the current positions of the transformation hierarchy from `TargetDeformationSkeleton_, deformed by the tetrahedral mesh. | |
| void | Invalidate () |
||
| void | DynamicCollection | ||
| void | SimulationCollection | ||
| void | SetRestCollection
(
const UFleshAsset* InRestCollection |
RestCollection | |
| void |
Overridden from UDeformablePhysicsComponent
| Type | Name | Description | |
|---|---|---|---|
| FDataMapValue | |||
| FThreadingProxy * | NewProxy () |
Simulation Interface | |
| void | UpdateFromSimulation
(
const FDataMapValue* SimualtionBuffer |
Overridden from UPrimitiveComponent
| Type | Name | Description | |
|---|---|---|---|
| void | SetMaterial
(
int32 Index, |
Changes the material applied to an element of the mesh. |
Overridden from USceneComponent
| Type | Name | Description | |
|---|---|---|---|
| FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
USceneComponent Interface | |
| void | EndPlay
(
const EEndPlayReason::Type ReasonEnd |
Ends gameplay for this component. | |
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |
Overridden from IDataflowGeometryCachable
| Type | Name | Description | |
|---|---|---|---|
| TArray< FVector3f > | GetGeometryCachePositions
(
const USkeletalMesh* SkeletalMesh |
Computes skeletal mesh positions for geometry cache | |
| TOptional< TArray< int32 > > | GetMeshImportVertexMap
(
const USkinnedAsset& SkinnedMeshAsset |
Get mapping from final mesh vertex index to raw import vertex index |
Typedefs
| Name | Description |
|---|---|
| FFleshThreadingProxy |