Struct FaceBlendShapePose
Stores a face pose as a set of blend shape weights.
Syntax
public struct FaceBlendShapePose
Fields
BrowDownLeft
Declaration
public float BrowDownLeft
Field Value
BrowDownRight
Declaration
public float BrowDownRight
Field Value
BrowInnerUp
Declaration
Field Value
BrowOuterUpLeft
Declaration
public float BrowOuterUpLeft
Field Value
BrowOuterUpRight
Declaration
public float BrowOuterUpRight
Field Value
CheekPuff
Declaration
Field Value
CheekSquintLeft
Declaration
public float CheekSquintLeft
Field Value
CheekSquintRight
Declaration
public float CheekSquintRight
Field Value
EyeBlinkLeft
Declaration
public float EyeBlinkLeft
Field Value
EyeBlinkRight
Declaration
public float EyeBlinkRight
Field Value
EyeLookDownLeft
Declaration
public float EyeLookDownLeft
Field Value
EyeLookDownRight
Declaration
public float EyeLookDownRight
Field Value
EyeLookInLeft
Declaration
public float EyeLookInLeft
Field Value
EyeLookInRight
Declaration
public float EyeLookInRight
Field Value
EyeLookOutLeft
Declaration
public float EyeLookOutLeft
Field Value
EyeLookOutRight
Declaration
public float EyeLookOutRight
Field Value
EyeLookUpLeft
Declaration
public float EyeLookUpLeft
Field Value
EyeLookUpRight
Declaration
public float EyeLookUpRight
Field Value
EyeSquintLeft
Declaration
public float EyeSquintLeft
Field Value
EyeSquintRight
Declaration
public float EyeSquintRight
Field Value
EyeWideLeft
Declaration
Field Value
EyeWideRight
Declaration
public float EyeWideRight
Field Value
JawForward
Declaration
Field Value
JawLeft
Declaration
Field Value
JawOpen
Declaration
Field Value
JawRight
Declaration
Field Value
MouthClose
Declaration
Field Value
MouthDimpleLeft
Declaration
public float MouthDimpleLeft
Field Value
MouthDimpleRight
Declaration
public float MouthDimpleRight
Field Value
MouthFrownLeft
Declaration
public float MouthFrownLeft
Field Value
MouthFrownRight
Declaration
public float MouthFrownRight
Field Value
MouthFunnel
Declaration
Field Value
MouthLeft
Declaration
Field Value
MouthLowerDownLeft
Declaration
public float MouthLowerDownLeft
Field Value
MouthLowerDownRight
Declaration
public float MouthLowerDownRight
Field Value
MouthPressLeft
Declaration
public float MouthPressLeft
Field Value
MouthPressRight
Declaration
public float MouthPressRight
Field Value
MouthPucker
Declaration
Field Value
MouthRight
Declaration
Field Value
MouthRollLower
Declaration
public float MouthRollLower
Field Value
MouthRollUpper
Declaration
public float MouthRollUpper
Field Value
MouthShrugLower
Declaration
public float MouthShrugLower
Field Value
MouthShrugUpper
Declaration
public float MouthShrugUpper
Field Value
MouthSmileLeft
Declaration
public float MouthSmileLeft
Field Value
MouthSmileRight
Declaration
public float MouthSmileRight
Field Value
MouthStretchLeft
Declaration
public float MouthStretchLeft
Field Value
MouthStretchRight
Declaration
public float MouthStretchRight
Field Value
MouthUpperUpLeft
Declaration
public float MouthUpperUpLeft
Field Value
MouthUpperUpRight
Declaration
public float MouthUpperUpRight
Field Value
NoseSneerLeft
Declaration
public float NoseSneerLeft
Field Value
NoseSneerRight
Declaration
public float NoseSneerRight
Field Value
ShapeCount
The number of supported blend shapes.
Declaration
public const int ShapeCount = null
Field Value
TongueOut
Declaration
Field Value
Properties
Item[Int32]
The pose value for a blend shape at the given index.
Declaration
public float this[int index] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
index |
The blend shape index.
|
Property Value
Shapes
The face blend shapes, excluding shapes with a negative value.
Declaration
public static readonly FaceBlendShape[] Shapes { get; }
Property Value
Methods
FlipHorizontally()
Horizontally mirrors the face pose.
Declaration
public void FlipHorizontally()
GetValue(FaceBlendShape)
Gets the pose value for a blend shape.
Declaration
public float GetValue(FaceBlendShape location)
Parameters
Type |
Name |
Description |
FaceBlendShape |
location |
The blend shape to get the value of.
|
Returns
Type |
Description |
Single |
The normalized blend shape influence.
|
SetValue(FaceBlendShape, Single)
Sets the pose value for a blend shape.
Declaration
public void SetValue(FaceBlendShape location, float value)
Parameters
Type |
Name |
Description |
FaceBlendShape |
location |
The blend shape to set the value of.
|
Single |
value |
The normalized blend shape influence.
|
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.