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 (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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback