-
Notifications
You must be signed in to change notification settings - Fork 0
BlendShapeBlender.cs
Matthew Coulter edited this page Aug 17, 2022
·
1 revision
class/ Inherits from:MonoBehaviour
This component handles automatically animatingblendshape layers on a skinned mesh renderer each individually from 0-100 in order.
There can be as many blend shapes as required and the order can be reversed. This is used for the battery indicator of the flash system.
The lerping from 0 to 100 is always happening
Property | Description | Type |
---|---|---|
value; | The current lerped value between 0 and 100 | float |
inverseDirection | Updates the blend shapes from bottom to top instead of top to bottom | bool |
inverseSize | Blend shapes will be set to 100 when value is 0 | bool |