IFacialInstance

C++
struct IFacialInstance {
};
File

IFacialAnimation.h

Description

IFacialInstance interface

IFacialInstance::~IFacialInstance Destructor
C++
virtual ~IFacialInstance();
IFacialInstance::EnableProceduralFacialAnimation Method
C++
virtual void EnableProceduralFacialAnimation(bool bEnable) = 0;
IFacialInstance::GetFaceState Method
C++
virtual IFaceState* GetFaceState() = 0;
IFacialInstance::GetFacialModel Method
C++
virtual IFacialModel* GetFacialModel() = 0;
IFacialInstance::IsPlaySequence Method
C++
virtual bool IsPlaySequence(IFacialAnimSequence * pSequence, EFacialSequenceLayer layer) = 0;
IFacialInstance::IsProceduralFacialAnimationEnabled Method
C++
virtual bool IsProceduralFacialAnimationEnabled() const = 0;
IFacialInstance::LipSyncWithSound Method
C++
virtual void LipSyncWithSound(uint32 nSoundId, bool bStop = false) = 0;
Description

Start/Stop Lip syncing with the sound.

IFacialInstance::LoadSequence Method
C++
virtual IFacialAnimSequence * LoadSequence(const char * sSequenceName, bool addToCache = true) = 0;
IFacialInstance::OnExpressionLibraryLoad Method
C++
virtual void OnExpressionLibraryLoad() = 0;
IFacialInstance::PauseSequence Method
C++
virtual void PauseSequence(EFacialSequenceLayer layer, bool bPaused) = 0;
IFacialInstance::PlaySequence Method
C++
virtual void PlaySequence(IFacialAnimSequence * pSequence, EFacialSequenceLayer layer, bool bExclusive = false, bool bLooping = false) = 0;
IFacialInstance::PrecacheFacialExpression Method
C++
virtual void PrecacheFacialExpression(const char * sSequenceName) = 0;
IFacialInstance::PreviewEffector Method
C++
virtual void PreviewEffector(IFacialEffector * pEffector, float fWeight, float fBalance = 0.0f) = 0;
IFacialInstance::PreviewEffectors Method
C++
virtual void PreviewEffectors(IFacialEffector ** pEffectors, float * fWeights, float * fBalances, int nEffectorsCount) = 0;
IFacialInstance::SeekSequence Method
C++
virtual void SeekSequence(EFacialSequenceLayer layer, float fTime) = 0;
Description

Seek sequence current time to the specified time offset from the begining of sequence playback time.

IFacialInstance::SetForcedRotations Method
C++
virtual void SetForcedRotations(int numForcedRotations, CFacialAnimForcedRotationEntry* forcedRotations) = 0;
IFacialInstance::SetMasterCharacter Method
C++
virtual void SetMasterCharacter(ICharacterInstance* pMasterInstance) = 0;
IFacialInstance::SetUseFrameRateLimiting Method
C++
virtual void SetUseFrameRateLimiting(bool useFrameRateLimiting) = 0;
IFacialInstance::StartEffectorChannel Method
C++
virtual uint32 StartEffectorChannel(IFacialEffector* pEffector, float fWeight, float fFadeTime, float fLifeTime = 0, int nRepeatCount = 0) = 0;
IFacialInstance::StopAllSequencesAndChannels Method
C++
virtual void StopAllSequencesAndChannels() = 0;
IFacialInstance::StopEffectorChannel Method
C++
virtual void StopEffectorChannel(uint32 nChannelID, float fFadeOutTime) = 0;
IFacialInstance::StopSequence Method
C++
virtual void StopSequence(EFacialSequenceLayer layer) = 0;
IFacialInstance::TemporarilyEnableBoneRotationSmoothing Method
C++
virtual void TemporarilyEnableBoneRotationSmoothing() = 0;