Navigation
API > API/Runtime > API/Runtime/MeshConversion
References
| Module | MeshConversion |
| Header | /Engine/Source/Runtime/MeshConversion/Public/MeshDescriptionAdapter.h |
| Include | #include "MeshDescriptionAdapter.h" |
Syntax
struct FMeshDescriptionEditableTriangleMeshAdapter
Remarks
Non-const version of the adapter, with non-const storage and setters TODO: try to be smarter about sharing code w/ the above const version
Variables
| Type | Name | Description | |
|---|---|---|---|
| FMeshDescription * | Mesh | ||
| TVertexInstanceAttributesRef< FVector3f > | VertexInstanceNormals | ||
| TVertexAttributesRef< FVector3f > | VertexPositions |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint64 | |||
| FVector3f | GetNormal
(
int32 IDValue |
||
| FIndex3i | GetTriangle
(
int32 IDValue |
||
| void | GetTriVertices
(
int32 IDValue, |
||
| FVector3d | GetVertex
(
int32 IDValue |
||
| bool | HasNormals () |
||
| bool | IsNormal
(
int32 NID |
||
| bool | IsTriangle
(
int32 TID |
||
| bool | IsVertex
(
int32 VID |
||
| int32 | MaxNormalID () |
||
| int32 | ID and Count are the same for MeshDescription because it's compact. | ||
| int32 | MaxVertexID () |
||
| int32 | NormalCount () |
||
| void | SetNormal
(
int32 IDValue, |
||
| void | SetVertex
(
int32 IDValue, |
||
| int32 | |||
| int32 | VertexCount () |
Typedefs
| Name | Description |
|---|---|
| FIndex3i |