Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/MeshTangents.h |
| Include | #include "DynamicMesh/MeshTangents.h" |
Syntax
class FDynamicMeshTangents
Remarks
FDynamicMeshTangents is a helper object for accessing tangents stored in the AttributeSet of a FDynamicMesh3.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FDynamicMeshNormalOverlay * | Bitangents | ||
| const FDynamicMesh3 * | Mesh | ||
| const FDynamicMeshNormalOverlay * | Normals | ||
| const FDynamicMeshNormalOverlay * | Tangents |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDynamicMeshTangents
(
const FDynamicMesh3* MeshIn |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetTangentFrame
(
int32 TriangleID, |
If tangents are available in the overlays, returns them. | |
| void | GetTangentVectors
(
int32 TriangleID, |
If tangents are available in the overlays, returns them, otherwise falls back to unit X/Y axes. | |
| void | GetTangentVectors
(
int32 TriangleID, |
If tangents are available in the overlays, returns them. | |
| bool | HasValidTangents
(
bool bCheckValues |
Checks the mesh for valid tangents. |