Class FaceDevice
A device used to control face animation capture and playback.
Namespace: Unity.LiveCapture.ARKitFaceCapture
Assembly: Unity.LiveCapture.ARKitFaceCapture.dll
Syntax
[ExcludeFromPreset]
[CreateDeviceMenuItem("ARKit Face Device", 0)]
[AddComponentMenu("Live Capture/ARKit Face Capture/ARKit Face Device")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.live-capture@1.1/manual/ref-component-arkit-face-device.html")]
public class FaceDevice : CompanionAppDevice<IFaceClient>
Remarks
The face capture data is in the format of Apple's ARKit face tracking.
Properties
Actor
Gets the FaceActor currently assigned to this device.
Declaration
public FaceActor Actor { get; set; }
Property Value
Type | Description |
---|---|
FaceActor | The assigned actor, or null if none is assigned. |
See Also
Methods
BuildLiveLink(PlayableGraph)
Declaration
[Obsolete("Use LiveUpdate instead")]
public override void BuildLiveLink(PlayableGraph graph)
Parameters
Type | Name | Description |
---|---|---|
PlayableGraph | graph |
See Also
GetAssetName()
Declaration
protected override string GetAssetName()
Returns
Type | Description |
---|---|
string |
See Also
LiveUpdate()
Declaration
public override void LiveUpdate()
See Also
OnClientAssigned()
Declaration
protected override void OnClientAssigned()
See Also
OnClientUnassigned()
Declaration
protected override void OnClientUnassigned()
See Also
OnDisable()
Declaration
protected override void OnDisable()
See Also
OnEnable()
Declaration
protected override void OnEnable()
See Also
OnRecordingChanged()
Declaration
protected override void OnRecordingChanged()
See Also
UpdateDevice()
Declaration
public override void UpdateDevice()
See Also
Write(ITakeBuilder)
Declaration
public override void Write(ITakeBuilder takeBuilder)
Parameters
Type | Name | Description |
---|---|---|
ITakeBuilder | takeBuilder |