Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UPreviewMesh
Description
Calculate tangents for the underlying component. This will calculate and assign tangents for the preview mesh independent of the tangents mode. But if the tangents mode is set to AutoCalculated then it will try to use the auto calculated tangents.
| Name | CalculateTangents |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/PreviewMesh.h |
| Include Path | #include "PreviewMesh.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/PreviewMesh.cpp |
bool CalculateTangents()
true if tangents were successfully calculated and assigned to the underlying mesh