Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateTangents
(
const FDynamicMesh3* MeshIn, |
Use the MeshIn Overlays to update the Tangent and BinormalSign attributes of the MeshDescription, assuming mesh topology has not changed. | DynamicMeshToMeshDescription.h | |
void UpdateTangents
(
const FDynamicMesh3* MeshIn, |
Use the TMeshTangents to update the Tangent and BinormalSign attributes of the MeshDescription, assuming mesh topology has not changed. | DynamicMeshToMeshDescription.h |
UpdateTangents(const FDynamicMesh3 *, FMeshDescription &)
Description
Use the MeshIn Overlays to update the Tangent and BinormalSign attributes of the MeshDescription, assuming mesh topology has not changed. Does not modify any other attributes. NOTE: assumes the order of triangles in the MeshIn correspond to the ordering you'd get by iterating over triangles, on MeshOut This matches conversion currently used in MeshDescriptionToDynamicMesh.cpp, but if that changes we will need to change this function to match!
| Name | UpdateTangents |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshConversion/Public/DynamicMeshToMeshDescription.h |
| Include Path | #include "DynamicMeshToMeshDescription.h" |
| Source | /Engine/Source/Runtime/MeshConversion/Private/DynamicMeshToMeshDescription.cpp |
void UpdateTangents
(
const FDynamicMesh3 * MeshIn,
FMeshDescription & MeshOut
)
UpdateTangents(const FDynamicMesh3 , FMeshDescription &, const UE::Geometry::TMeshTangents< double > )
Description
Use the TMeshTangents to update the Tangent and BinormalSign attributes of the MeshDescription, assuming mesh topology has not changed. Does not modify any other attributes. NOTE: this ignores any tangent or bitangent overlays on the MeshIn, and instead uses the tangent and bitangent information stored in the TMeshTangents NOTE: assumes the order of triangles in the MeshIn correspond to the ordering you'd get by iterating over triangles, on MeshOut This matches conversion currently used in MeshDescriptionToDynamicMesh.cpp, but if that changes we will need to change this function to match!
| Name | UpdateTangents |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshConversion/Public/DynamicMeshToMeshDescription.h |
| Include Path | #include "DynamicMeshToMeshDescription.h" |
void UpdateTangents
(
const FDynamicMesh3 * MeshIn,
FMeshDescription & MeshOut,
const UE::Geometry::TMeshTangents < double > * SrcTangents
)