Struct FaceBlendShapePose
Stores a face pose as a set of blend shape weights.
Syntax
[Serializable]
public struct FaceBlendShapePose
Fields
BrowDownLeft
Declaration
[Range(0F, 1F)]
public float BrowDownLeft
Field Value
BrowDownRight
Declaration
[Range(0F, 1F)]
public float BrowDownRight
Field Value
BrowInnerUp
Declaration
[Range(0F, 1F)]
public float BrowInnerUp
Field Value
BrowOuterUpLeft
Declaration
[Range(0F, 1F)]
public float BrowOuterUpLeft
Field Value
BrowOuterUpRight
Declaration
[Range(0F, 1F)]
public float BrowOuterUpRight
Field Value
CheekPuff
Declaration
[Range(0F, 1F)]
public float CheekPuff
Field Value
CheekSquintLeft
Declaration
[Range(0F, 1F)]
public float CheekSquintLeft
Field Value
CheekSquintRight
Declaration
[Range(0F, 1F)]
public float CheekSquintRight
Field Value
EyeBlinkLeft
Declaration
[Range(0F, 1F)]
public float EyeBlinkLeft
Field Value
EyeBlinkRight
Declaration
[Range(0F, 1F)]
public float EyeBlinkRight
Field Value
EyeLookDownLeft
Declaration
[Range(0F, 1F)]
public float EyeLookDownLeft
Field Value
EyeLookDownRight
Declaration
[Range(0F, 1F)]
public float EyeLookDownRight
Field Value
EyeLookInLeft
Declaration
[Range(0F, 1F)]
public float EyeLookInLeft
Field Value
EyeLookInRight
Declaration
[Range(0F, 1F)]
public float EyeLookInRight
Field Value
EyeLookOutLeft
Declaration
[Range(0F, 1F)]
public float EyeLookOutLeft
Field Value
EyeLookOutRight
Declaration
[Range(0F, 1F)]
public float EyeLookOutRight
Field Value
EyeLookUpLeft
Declaration
[Range(0F, 1F)]
public float EyeLookUpLeft
Field Value
EyeLookUpRight
Declaration
[Range(0F, 1F)]
public float EyeLookUpRight
Field Value
EyeSquintLeft
Declaration
[Range(0F, 1F)]
public float EyeSquintLeft
Field Value
EyeSquintRight
Declaration
[Range(0F, 1F)]
public float EyeSquintRight
Field Value
EyeWideLeft
Declaration
[Range(0F, 1F)]
public float EyeWideLeft
Field Value
EyeWideRight
Declaration
[Range(0F, 1F)]
public float EyeWideRight
Field Value
JawForward
Declaration
[Range(0F, 1F)]
public float JawForward
Field Value
JawLeft
Declaration
[Range(0F, 1F)]
public float JawLeft
Field Value
JawOpen
Declaration
[Range(0F, 1F)]
public float JawOpen
Field Value
JawRight
Declaration
[Range(0F, 1F)]
public float JawRight
Field Value
MouthClose
Declaration
[Range(0F, 1F)]
public float MouthClose
Field Value
MouthDimpleLeft
Declaration
[Range(0F, 1F)]
public float MouthDimpleLeft
Field Value
MouthDimpleRight
Declaration
[Range(0F, 1F)]
public float MouthDimpleRight
Field Value
MouthFrownLeft
Declaration
[Range(0F, 1F)]
public float MouthFrownLeft
Field Value
MouthFrownRight
Declaration
[Range(0F, 1F)]
public float MouthFrownRight
Field Value
MouthFunnel
Declaration
[Range(0F, 1F)]
public float MouthFunnel
Field Value
MouthLeft
Declaration
[Range(0F, 1F)]
public float MouthLeft
Field Value
MouthLowerDownLeft
Declaration
[Range(0F, 1F)]
public float MouthLowerDownLeft
Field Value
MouthLowerDownRight
Declaration
[Range(0F, 1F)]
public float MouthLowerDownRight
Field Value
MouthPressLeft
Declaration
[Range(0F, 1F)]
public float MouthPressLeft
Field Value
MouthPressRight
Declaration
[Range(0F, 1F)]
public float MouthPressRight
Field Value
MouthPucker
Declaration
[Range(0F, 1F)]
public float MouthPucker
Field Value
MouthRight
Declaration
[Range(0F, 1F)]
public float MouthRight
Field Value
MouthRollLower
Declaration
[Range(0F, 1F)]
public float MouthRollLower
Field Value
MouthRollUpper
Declaration
[Range(0F, 1F)]
public float MouthRollUpper
Field Value
MouthShrugLower
Declaration
[Range(0F, 1F)]
public float MouthShrugLower
Field Value
MouthShrugUpper
Declaration
[Range(0F, 1F)]
public float MouthShrugUpper
Field Value
MouthSmileLeft
Declaration
[Range(0F, 1F)]
public float MouthSmileLeft
Field Value
MouthSmileRight
Declaration
[Range(0F, 1F)]
public float MouthSmileRight
Field Value
MouthStretchLeft
Declaration
[Range(0F, 1F)]
public float MouthStretchLeft
Field Value
MouthStretchRight
Declaration
[Range(0F, 1F)]
public float MouthStretchRight
Field Value
MouthUpperUpLeft
Declaration
[Range(0F, 1F)]
public float MouthUpperUpLeft
Field Value
MouthUpperUpRight
Declaration
[Range(0F, 1F)]
public float MouthUpperUpRight
Field Value
NoseSneerLeft
Declaration
[Range(0F, 1F)]
public float NoseSneerLeft
Field Value
NoseSneerRight
Declaration
[Range(0F, 1F)]
public float NoseSneerRight
Field Value
ShapeCount
The number of supported blend shapes.
Declaration
public const int ShapeCount = 52
Field Value
TongueOut
Declaration
[Range(0F, 1F)]
public float TongueOut
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.
|