|
| ShapeKey (int[] idArray) |
| The default Constructor. More...
|
|
void | SetValue (float _value, ref Dictionary< int, float > blendshapeValueDict) |
| Sets the value of the associated blendshape More...
|
|
void | ResetInitialValue () |
|
void | Upgrade () |
|
A data container for a blendshape, stored within a ShapeGroup.
◆ ShapeKey()
AC.ShapeKey.ShapeKey |
( |
int[] |
idArray | ) |
|
The default Constructor.
- Parameters
-
idArray | An array of existing ShapeKey ID numbers, to ensure that the key's identifier is unique |
◆ SetValue()
void AC.ShapeKey.SetValue |
( |
float |
_value, |
|
|
ref Dictionary< int, float > |
blendshapeValueDict |
|
) |
| |
Sets the value of the associated blendshape
- Parameters
-
_value | The value that the blendshape should have |
smr | The SkinnedMeshRenderer component that the blendshape is a part of |
◆ ID
◆ label
string AC.ShapeKey.label = "" |
An editor-friendly name of the blendshape
◆ targetValue
float AC.ShapeKey.targetValue = 0 |
The intended value of the blendshape
◆ value
float AC.ShapeKey.value = 0 |
The current value of the blendshape