Class FaceExpressionAction
Namespace: Unity.MARS.Actions
Syntax
public class FaceExpressionAction : MonoBehaviour, IUsesFacialExpressions, IFunctionalitySubscriber<IProvidesFacialExpressions>, IFaceFeature, IMatchAcquireHandler, IMatchLossHandler, IAction, ISimulatable
Properties
provider
Declaration
public IProvidesFacialExpressions provider { get; set; }
Property Value
Type | Description |
---|---|
IProvidesFacialExpressions |
Methods
OnMatchAcquire(QueryResult)
Called when a query match has been found
Declaration
public void OnMatchAcquire(QueryResult queryResult)
Parameters
Type | Name | Description |
---|---|---|
QueryResult | queryResult | Data associated with this event |
Implements
OnMatchLoss(QueryResult)
Called when a query match has been lost
Declaration
public void OnMatchLoss(QueryResult queryResult)
Parameters
Type | Name | Description |
---|---|---|
QueryResult | queryResult | Data associated with this event |