UGoogleARCoreFaceMeshComponent::CreateMesh

Create the initial face mesh from raw mesh data

Windows
MacOS
Linux

References

Module

GoogleARCoreBase

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

Syntax

[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
)

Remarks

Create the initial face mesh from raw mesh data

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss