Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeCommon > API/Runtime/ClothingSystemRuntimeCommon/Utils
References
| Module | ClothingSystemRuntimeCommon |
| Header | /Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/Utils/ClothingMeshUtils.h |
| Include | #include "Utils/ClothingMeshUtils.h" |
Syntax
class ClothMeshDesc
Constructors
| Type | Name | Description | |
|---|---|---|---|
ClothMeshDesc
(
TConstArrayView< FVector3f > InPositions, |
Construct a mesh descriptor with re-calculated (averaged) normals to match the simulation output. | ||
ClothMeshDesc
(
TConstArrayView< FVector3f > InPositions, |
|||
ClothMeshDesc
(
TConstArrayView< FVector3f > InPositions, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | DistanceToTriangle
(
const FVector& Position, |
Find the distance to the specified triangle from a point. | |
| TArray< int32 > | FindCandidateTriangles
(
const FVector& InPoint, |
Find the closest triangles from the specified point. | |
| const TConstArrayView< uint32 > & | GetIndices () |
||
| TConstArrayView< float > | Return the max edge length for each edge coming out of a mesh vertex. | ||
| const TConstArrayView< FVector3f > & | GetNormals () |
||
| const TConstArrayView< FVector3f > & | GetPositions () |
||
| const TConstArrayView< FVector3f > & | GetTangents () |
||
| bool | Return whether this descriptor has been initialized with the normals generated from the averaged triangle normals. | ||
| bool | HasTangents () |
Return whether this descriptor has been initialized with tangent information. | |
| bool | HasValidMesh () |
Return whether the mesh descriptor has a valid number of normals and triangle indices. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FClothBvEntry |