Navigation
API > API/Plugins > API/Plugins/ChaosClothAsset
Geometry tools operating on cloth collections.
| Name | FClothGeometryTools |
| Type | struct |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAsset/Public/ChaosClothAsset/ClothGeometryTools.h |
| Include Path | #include "ChaosClothAsset/ClothGeometryTools.h" |
Syntax
struct FClothGeometryTools
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ApplyProxyDeformer
(
FCollectionClothFacade& ClothFacade, |
ChaosClothAsset/ClothGeometryTools.h | ||
static void ApplyProxyDeformer
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Update the render mesh by applying the proxy deformer. | ChaosClothAsset/ClothGeometryTools.h | |
static void BindMeshToRootBone
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Set the skinning weights for all of the sim/render vertices in ClothCollection to be bound to the root node. | ChaosClothAsset/ClothGeometryTools.h | |
static void BuildConnectedSeams
(
const TArray< FIntVector2 >& InputStitches, |
Find sets of connected stitches for the input stitches given in random order. | ChaosClothAsset/ClothGeometryTools.h | |
static void BuildConnectedSeams2D
(
const TSharedRef< const FManagedArrayCollection >& ClothCollection, |
Find sets of connected stitches for the given seam. | ChaosClothAsset/ClothGeometryTools.h | |
static void BuildSimMeshFromDynamicMesh
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Unwrap and build SimMesh data from a DynamicMesh Normals are only imported if the DynamicMesh has both a UVOverlay and a NormalOverlay | ChaosClothAsset/ClothGeometryTools.h | |
static void BuildSimMeshFromDynamicMeshes
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Build (or add to) a ClothCollection Sim Mesh from the given 2D and 3D mesh data. | ChaosClothAsset/ClothGeometryTools.h | |
static void CleanupAndCompactMesh
(
const TSharedRef< FManagedArrayCollection >& ClothCollection |
Remove (topologically) degenerate triangles. | ChaosClothAsset/ClothGeometryTools.h | |
static bool ConvertSelectionToNewGroupType
(
const TSharedRef< const FManagedArrayCollection >& ClothCollection, |
Get a copy of the selection, converting to the desired group if possible. | ChaosClothAsset/ClothGeometryTools.h | |
static bool ConvertSelectionToNewGroupType
(
const TSharedRef< const FManagedArrayCollection >& ClothCollection, |
Get a copy of the selection, converting to the desired group if possible. | ChaosClothAsset/ClothGeometryTools.h | |
static void CopySimMeshToRenderMesh
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Turn the sim mesh portion of this ClothCollection into a render mesh. | ChaosClothAsset/ClothGeometryTools.h | |
static void DeleteRenderMesh
(
const TSharedRef< FManagedArrayCollection >& ClothCollection |
Delete the render mesh data. | ChaosClothAsset/ClothGeometryTools.h | |
static void DeleteSelections
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Remove all selections, or the selections from a specific group if specified. | ChaosClothAsset/ClothGeometryTools.h | |
static void DeleteSimMesh
(
const TSharedRef< FManagedArrayCollection >& ClothCollection |
Delete the sim mesh data. | ChaosClothAsset/ClothGeometryTools.h | |
static void DeleteTethers
(
const TSharedRef< FManagedArrayCollection >& ClothCollection |
Remove all tethers. | ChaosClothAsset/ClothGeometryTools.h | |
static TSet< int32 > GenerateKinematicVertices3D
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Generate KinematicVertices3D set from the given MaxDistance weight map, MaxDistance values, and any additional kinematic vertices. | ChaosClothAsset/ClothGeometryTools.h | |
static bool HasRenderMesh
(
const TSharedRef< const FManagedArrayCollection >& ClothCollection |
Return whether at least one pattern of this collection has any faces to render. | ChaosClothAsset/ClothGeometryTools.h | |
static bool HasSimMesh
(
const TSharedRef< const FManagedArrayCollection >& ClothCollection |
Return whether at least one pattern of this collection has any faces to simulate. | ChaosClothAsset/ClothGeometryTools.h | |
static void RecalculateRenderMeshNormals
(
const TSharedRef< FManagedArrayCollection >& ClothCollection |
Recalculate the render mesh normals. | ChaosClothAsset/ClothGeometryTools.h | |
static void ReverseMesh
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Reverse the mesh normals. Will reverse all normals if pattern selection is empty. | ChaosClothAsset/ClothGeometryTools.h | |
static void SampleVertices
(
const TConstArrayView< FVector3f > VertexPositions, |
Use Poisson disk sampling to get a set of evenly-spaced vertices | ChaosClothAsset/ClothGeometryTools.h | |
static void SelectAllInGroupType
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Create a selection set that selects all members of a group. | ChaosClothAsset/ClothGeometryTools.h | |
static void TransferWeightMap
(
const TConstArrayView< FVector3f >& SourcePositions, |
Transfer a vertex weight map from a source to target mesh | ChaosClothAsset/ClothGeometryTools.h |