UDEPRECATED_GoogleARCoreFaceMeshComponent

This component is updated by the ARSystem with face data on devices that have support for it.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GoogleARCoreBase

Header

/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Public/GoogleARCoreFaceMeshComponent.h

Include

#include "GoogleARCoreFaceMeshComponent.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(HideCategories=(Object, LOD, "GoogleARCore|AugmentedFace"), ClassGroup="AR", Deprecated)
class UDEPRECATED_GoogleARCoreFaceMeshComponent : public UProceduralMeshComponent

Remarks

This component is updated by the ARSystem with face data on devices that have support for it.

that this class is now deprecated, it's replaced by ARFaceComponent which works on all the platforms support face tracking.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

bool

 

bAutoBindToLocalFaceMesh

If true, the mesh data will come from the local ARKit face mesh data.

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

bool

 

bWantsCollision

Indicates whether collision should be created for this face mesh.

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

UMaterialInterf...

 

FaceMaterial

Used when rendering the face mesh (mostly debug reasons)

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

EARCoreFaceComp...

 

TransformSetting

Determines how the transform from tracking data and the component's transform are mixed together

Constructors

Name Description

Public function

UDEPRECATED_GoogleARCoreFaceMeshComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function UFunction BlueprintCallable, Category, Meta

void

 

BindARFaceGeometry

(
    UARFaceGeometry* FaceGeometry
)

Bind this FaceMeshComponent to the given UARFaceGeometry object.

Public function UFunction BlueprintCallable, Category, Meta

void

 

CreateMesh

(
    const TArray< FVector >& Vertices,
    const TArray< int32 >& Triangles,
    const TArray< FVector2D >& UV0
)

Create the initial face mesh from raw mesh data

Public function Const UFunction BlueprintPure, Category

FTransform

 

GetTransform()

Get the transform that the AR camera has detected

Public function UFunction BlueprintCallable, Category, Meta

void

 

SetAutoBind

(
    bool bAutoBind
)

If auto bind is true, then this component will update itself from the local face tracking data each tick.

Public function UFunction BlueprintCallable, Category, Meta

void

 

UpdateMesh

(
    const TArray< FVector >& Vertices
)

Updates the face mesh vertices.

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