Class FaceUpdatedEventUnit
Uses an ARFaceListener to listen for an AR Face updated event on the visual scripting event bus and assign the ARFaceUpdatedEventArgs to a newly triggered Flow.
Namespace: UnityEngine.XR.ARFoundation.VisualScripting
Assembly: Unity.XR.ARFoundation.VisualScripting.dll
Syntax
public sealed class FaceUpdatedEventUnit : GameObjectEventUnit<ARFaceUpdatedEventArgs>
Properties
MessageListenerType
The MessageListener type.
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
faceOut
ARFaceUpdatedEventArgs output.
Declaration
public ValueOutput faceOut { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
hookName
The hook name.
Declaration
protected override string hookName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
AssignArguments(Flow, ARFaceUpdatedEventArgs)
Assigns args
to flow
.
Declaration
protected override void AssignArguments(Flow flow, ARFaceUpdatedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | The flow. |
ARFaceUpdatedEventArgs | args | The arguments. |
Definition()
Unit definition.
Declaration
protected override void Definition()