Class FaceExpressionAction
Inherited Members
Namespace: Unity.MARS.Actions
Syntax
[MonoBehaviourComponentMenu(typeof(FaceExpressionAction), "Action/Face Expressions")]
[MovedFrom("Unity.MARS")]
public class FaceExpressionAction : MonoBehaviour, IUsesFacialExpressions, IFunctionalitySubscriber<IProvidesFacialExpressions>, IFunctionalitySubscriber, IFaceFeature, IMatchAcquireHandler, IMatchLossHandler, IAction, ISimulatable
Properties
provider
Declaration
public IProvidesFacialExpressions provider { get; set; }
Property Value
| Type | Description |
|---|---|
| IProvidesFacialExpressions |
Implements
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 |