Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMesh3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EMeshResult PokeTriangle
(
int TriangleID, |
Call PokeTriangle at the centroid of the triangle | DynamicMesh/DynamicMesh3.h | |
virtual EMeshResult PokeTriangle
(
int TriangleID, |
Insert a new vertex inside a triangle, ie do a 1 to 3 triangle split | DynamicMesh/DynamicMesh3.h |
PokeTriangle(int, FPokeTriangleInfo &)
Description
Call PokeTriangle at the centroid of the triangle
| Name | PokeTriangle |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
virtual EMeshResult PokeTriangle
(
int TriangleID,
FPokeTriangleInfo & PokeInfo
)
PokeTriangle(int, const FVector3d &, FPokeTriangleInfo &)
Description
Insert a new vertex inside a triangle, ie do a 1 to 3 triangle split
| Name | PokeTriangle |
| 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_Edits.cpp |
virtual EMeshResult PokeTriangle
(
int TriangleID,
const FVector3d & BaryCoordinates,
FPokeTriangleInfo & PokeInfo
)
Ok on success, or enum value indicates why operation cannot be applied. Mesh remains unmodified on error.
Parameters
| Name | Remarks |
|---|---|
| TriangleID | index of triangle to poke |
| BaryCoordinates | barycentric coordinates of poke position |
| PokeInfo | returned information about new and modified mesh elements |