Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMesh3
Description
Compute a normal/tangent frame at vertex that is "stable" as long as the mesh topology doesn't change, meaning that one axis of the frame will be computed from projection of outgoing edge. By default, frame.Z is normal, and .X points along mesh edge. Requires that VertexNormals are available, or UseNormal != nullptr, otherwise returns default Frame3d
| Name | GetVertexFrame |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMesh3_Queries.cpp |
FFrame3d GetVertexFrame
(
int VertexID,
bool bFrameNormalY,
FVector3d * UseNormal
) const
Parameters
| Name | Remarks |
|---|---|
| bFrameNormalY | if true, then frame.Y is normal (X still points along mesh edge) |
| UseNormal | if defined, this normal is used instead of VertexNormals normal |