| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/AR/AppleAR/AppleARKitFaceSupport/Source/AppleARKitFaceSupport/Public/AppleARKitFaceMeshComponent.h |
Include |
#include "AppleARKitFaceMeshComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(HideCategories=(Object, LOD, "Components|ProceduralMesh"),
Meta=(BlueprintSpawnableComponent), ClassGroup="AR")
class UAppleARKitFaceMeshComponent : public UProceduralMeshComponent
This component is updated by the ARSystem with face data on devices that have support for it
Name | Description | ||
---|---|---|---|
|
bAutoBindToLocalFaceMesh |
If true, the mesh data will come from the local ARKit face mesh data. |
|
|
bFlipTrackedRotation |
If true, the face mesh will be rotated to face out of the screen (-X) rather than into the screen (+X) and corresponding axises to match |
|
|
bWantsCollision |
Indicates whether collision should be created for this face mesh. |
|
|
bWantsMeshUpdates |
Indicates whether the face mesh data should be built for rendering or not |
|
|
FaceMaterial |
Used when rendering the face mesh (mostly debug reasons) |
|
|
LiveLinkSubjectName |
Used to identify this component's face ar data uniquely as part of the LiveLink animation pipeline |
|
|
RemoteCurves |
The set of changed curves to replicate to the other clients |
|
|
TransformSetting |
Determines how the transform from tracking data and the component's transform are mixed together |
Name | Description | |
---|---|---|
|
UAppleARKitFaceMeshComponent ( |
Name | Description | ||
---|---|---|---|
|
CreateMesh |
Create the initial face mesh from raw mesh data |
|
|
float |
GetFaceBlendShapeAmount ( |
Returns the value of the specified blend shape |
|
GetLastUpdateFrameNumber() |
Returns the frame number that was last used to update this component |
|
|
float |
GetLastUpdateTimestamp() |
Returns the frame timestamp that was last used to update this component |
|
GetTransform() |
Get the transform that the AR camera has detected |
|
|
PublishViaLiveLink ( |
Starts LiveLink publishing of this face component's data so that it can be used by the animation system |
|
|
SetAutoBind ( |
If auto bind is true, then this component will update itself from the local face tracking data each tick. |
|
|
SetBlendShapeAmount ( |
Sets the amount for a given blend shape |
|
|
SetBlendShapes ( |
Set all of the blend shapes for this instance from a set of blend shapes |
|
|
UpdateMesh |
Updates the face mesh vertices. |
|
|
UpdateMeshFromBlendShapes() |
Create/replace the face mesh from the current set of blend shapes if the device supports it |