struct IFacialEffector { };
IFacialAnimation.h
General Effector that can be a muscle bone or some effect.
virtual ~IFacialEffector();
virtual IFacialEffCtrl* AddSubEffector(IFacialEffector * pEffector) = 0;
virtual uint32 GetFlags() = 0;
virtual CFaceIdentifierHandle GetIdentifier() = 0;
virtual int GetIndexInState() = 0;
Get index of the effector in Facial State array, only valid for end effectors.
virtual int GetParamInt(EFacialEffectorParam param) = 0;
virtual const char* GetParamString(EFacialEffectorParam param) = 0;
virtual Vec3 GetParamVec3(EFacialEffectorParam param) = 0;
virtual IFacialEffCtrl* GetSubEffCtrl(int nIndex) = 0;
virtual IFacialEffCtrl* GetSubEffCtrlByName(const char* effectorName) = 0;
virtual IFacialEffector* GetSubEffector(int nIndex) = 0;
virtual int GetSubEffectorCount() = 0;
Sub Effectors.
virtual EFacialEffectorType GetType() = 0;
virtual void RemoveAllSubEffectors() = 0;
virtual void RemoveSubEffector(IFacialEffector * pEffector) = 0;
virtual void SetFlags(uint32 nFlags) = 0;
virtual void SetIdentifier(CFaceIdentifierHandle ident) = 0;
virtual void SetParamInt(EFacialEffectorParam param, int nValue) = 0;
virtual void SetParamString(EFacialEffectorParam param, const char * str) = 0;
Set/Get facial effector parameters, mostly used for editing.
virtual void SetParamVec3(EFacialEffectorParam param, Vec3 vValue) = 0;