Interface IFacialExpression
Represents the standard way of interacting with a facial expression
Namespace: Unity.MARS.Data
Syntax
public interface IFacialExpression
Properties
Coefficient
A number from 0 to 1 indicating how much the given expression is shown
Declaration
float Coefficient { get; }
Property Value
Type | Description |
---|---|
Single |
Name
The named expression expressed by this instance
Declaration
MRFaceExpression Name { get; }
Property Value
Type | Description |
---|---|
MRFaceExpression |
Threshold
The coefficient value at which engaged / disengaged events will happen
Declaration
float Threshold { get; set; }
Property Value
Type | Description |
---|---|
Single |
Events
Disengaged
What happens when the expression is disengaged
Declaration
event Action<float> Disengaged
Event Type
Type | Description |
---|---|
Action<Single> |
Engaged
What happens when the expression is engaged
Declaration
event Action<float> Engaged
Event Type
Type | Description |
---|---|
Action<Single> |