struct IFacialAnimChannel { enum EFlags { FLAG_GROUP = 0x00001, FLAG_PHONEME_STRENGTH = 0x00002, FLAG_VERTEX_DRAG = 0x00004, FLAG_BALANCE = 0x00008, FLAG_CATEGORY_BALANCE = 0x00010, FLAG_PROCEDURAL_STRENGTH = 0x00020, FLAG_LIPSYNC_CATEGORY_STRENGTH = 0x00040, FLAG_BAKED_LIPSYNC_GROUP = 0x00080, FLAG_UI_SELECTED = 0x01000, FLAG_UI_EXTENDED = 0x02000 }; };
IFacialAnimation.h
Facial animation channel used in facial sequence. Each channel controls the weight of the single facial expression over time.
enum EFlags { FLAG_GROUP = 0x00001, FLAG_PHONEME_STRENGTH = 0x00002, FLAG_VERTEX_DRAG = 0x00004, FLAG_BALANCE = 0x00008, FLAG_CATEGORY_BALANCE = 0x00010, FLAG_PROCEDURAL_STRENGTH = 0x00020, FLAG_LIPSYNC_CATEGORY_STRENGTH = 0x00040, FLAG_BAKED_LIPSYNC_GROUP = 0x00080, FLAG_UI_SELECTED = 0x01000, FLAG_UI_EXTENDED = 0x02000 };
IFacialAnimation.h
Members |
Description |
FLAG_GROUP = 0x00001 |
If set this channel is a group. |
FLAG_PHONEME_STRENGTH = 0x00002 |
This channel is the current phoneme strength. |
FLAG_VERTEX_DRAG = 0x00004 |
This channel is the vertex drag coefficient. |
FLAG_BALANCE = 0x00008 |
This channel controls the balance of the expressions. |
FLAG_CATEGORY_BALANCE = 0x00010 |
This channel controls the balance of the expressions in a certain folder. |
FLAG_PROCEDURAL_STRENGTH = 0x00020 |
This channel controls the strength of procedural animation. |
FLAG_LIPSYNC_CATEGORY_STRENGTH = 0x00040 |
This channel dampens all expressions in a folder during lipsyncing. |
FLAG_BAKED_LIPSYNC_GROUP = 0x00080 |
The contents of this folder override the auto-lipsynch. |
virtual ~IFacialAnimChannel();
virtual void AddInterpolator() = 0;
virtual void CleanupKeys(float fErrorMax) = 0;
virtual void DeleteInterpolator(int i) = 0;
virtual IFacialEffector* GetEffector() = 0;
virtual const CFaceIdentifierHandle GetEffectorIdentifier() = 0;
virtual uint32 GetFlags() = 0;
virtual const CFaceIdentifierHandle GetIdentifier() = 0;
virtual ISplineInterpolator* GetInterpolator(int i) = 0;
Retrieve interpolator spline used to animated channel value.
virtual int GetInterpolatorCount() const = 0;
virtual ISplineInterpolator* GetLastInterpolator() = 0;
virtual IFacialAnimChannel* GetParent() = 0;
Get group of this animation channel.
bool IsGroup();
virtual void RemoveNoise(float sigma, float threshold) = 0;
virtual void SetEffector(IFacialEffector * pEffector) = 0;
virtual void SetEffectorIdentifier(CFaceIdentifierHandle ident) = 0;
virtual void SetFlags(uint32 nFlags) = 0;
Change channel flags.
virtual void SetIdentifier(CFaceIdentifierHandle ident) = 0;
virtual void SetParent(IFacialAnimChannel * pParent) = 0;
Associate animation channel with the channel group.
virtual void SmoothKeys(float sigma) = 0;