Module |
|
Header |
/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Public/GoogleARCoreFaceMeshComponent.h |
Include |
#include "GoogleARCoreFaceMeshComponent.h" |
Source |
/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Private/GoogleARCoreFaceMeshComponent.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Components|ARFaceMesh",
Meta=(DisplayName="Create Face Mesh", AutoCreateRefTerm="UV0"))
void CreateMesh
(
const TArray< FVector > & Vertices,
const TArray< int32 > & Triangles,
const TArray< FVector2D > & UV0
)
Create the initial face mesh from raw mesh data
Parameter |
Description |
---|---|
Vertices |
Vertex buffer of all vertex positions to use for this mesh section. |
Triangles |
Index buffer indicating which vertices make up each triangle. Length must be a multiple of 3. |
UV0 |
Optional array of texture co-ordinates for each vertex. If supplied, must be same length as Vertices array. |