Navigation
API > API/Plugins > API/Plugins/ChaosFleshNodes
Generate barycentric bindings (used by the FleshDeformer deformer graph and Geometry Cache generation) of a render surface to a tetrahedral mesh and its surface. If a point is outside of the tetrahedral mesh, find surface embedding within SurfaceProjectionSearchRadius. Embeddings of LOD 0 are color coded in the render view: green: embedded on in a tetrahedron blue: embedded on a surface triangle red: orphan (cannot be embedded) yellow: orphan reparented to a tetrahedron from a node neighbor
| Name | FGenerateSurfaceBindings |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshNodes/Public/Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
| Include Path | #include "Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h" |
Syntax
USTRUCT (Meta=(DataflowFlesh))
struct FGenerateSurfaceBindings : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FGenerateSurfaceBindings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGenerateSurfaceBindings
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDoOrphanReparenting | bool | When nodes aren't contained in tetrahedra and surface projection fails, try to find suitable bindings by looking to neighboring parents. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
| bDoSurfaceProjection | bool | Enable binding to the exterior hull of the tetrahedron mesh. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
| bUseSkeletalMeshImportModel | bool | Use the import geometry of the skeletal mesh. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h | |
| Collection | FManagedArrayCollection | Collection containing tetrahedral mesh and surface mesh. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
| GeometryGroupGuidsIn | TArray< FString > | Render mesh will only bind to geometries whose GeometryGroupGuids match here. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
| SkeletalMeshIn | TObjectPtr< const USkeletalMesh > | The input mesh, whose render surface is used to generate bindings. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
| SkeletalMeshLODList | TArray< int32 > | Select skeletal mesh LODs to embed. Default empty list selects all LODs. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
| SKMDynamicMesh | TObjectPtr< UDynamicMesh > | Converted from embedded skeletal/static mesh | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
| StaticMeshIn | TObjectPtr< const UStaticMesh > | The input mesh, whose render surface is used to generate bindings. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
| SurfaceProjectionSearchRadius | float | The search radius when looking for surface triangles to bind to. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
| TransformSelection | FDataflowTransformSelection | Render mesh will only bind to geometries whose transforms are in TransformSelection. | Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DATAFLOW_NODE_DEFINE_INTERNAL
(
FGenerateSurfaceBindings, |
Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h | ||
FName
(
"FDynamicMesh3" |
Dataflow/ChaosFleshGenerateSurfaceBindingsNode.h |