struct IFacialAnimSequence { enum EFlags { FLAG_RANGE_FROM_SOUND = 0x00001 }; enum ESerializationFlags { SFLAG_SOUND_ENTRIES = 0x00000001, SFLAG_CAMERA_PATH = 0x00000002, SFLAG_ANIMATION = 0x00000004, SFLAG_ALL = 0xFFFFFFFF }; };
IFacialAnimation.h
enum EFlags { FLAG_RANGE_FROM_SOUND = 0x00001 };
IFacialAnimation.h
Members |
Description |
FLAG_RANGE_FROM_SOUND = 0x00001 |
Take time range from the sound length |
enum ESerializationFlags { SFLAG_SOUND_ENTRIES = 0x00000001, SFLAG_CAMERA_PATH = 0x00000002, SFLAG_ANIMATION = 0x00000004, SFLAG_ALL = 0xFFFFFFFF };
IFacialAnimation.h
virtual ~IFacialAnimSequence();
virtual void AddRef() = 0;
virtual IFacialAnimChannel* CreateChannel() = 0;
virtual IFacialAnimChannel* CreateChannelGroup() = 0;
virtual void DeleteSkeletonAnimationEntry(int index) = 0;
virtual void DeleteSoundEntry(int index) = 0;
virtual ISplineInterpolator* GetCameraPathFOV() = 0;
virtual ISplineInterpolator* GetCameraPathOrientation() = 0;
virtual ISplineInterpolator* GetCameraPathPosition() = 0;
virtual IFacialAnimChannel* GetChannel(int nIndex) = 0;
virtual int GetChannelCount() = 0;
Access to channels.
virtual int GetFlags() = 0;
virtual const char* GetJoystickFile() const = 0;
virtual void GetMemoryUsage(ICrySizer* pSizer) const = 0;
virtual const char* GetName() = 0;
Retrieve sequence name.
virtual IFacialAnimSkeletonAnimationEntry* GetSkeletonAnimationEntry(int index) = 0;
virtual int GetSkeletonAnimationEntryCount() = 0;
Access the skeleton animations associated with this facial sequence.
virtual IFacialAnimSoundEntry* GetSoundEntry(int index) = 0;
virtual int GetSoundEntryCount() = 0;
Access to sound entries.
virtual Range GetTimeRange() = 0;
virtual void InsertSkeletonAnimationEntry(int index) = 0;
virtual void InsertSoundEntry(int index) = 0;
virtual bool IsInMemory() const = 0;
Streaming related - reports if the sequence has been streamed into memory and is available for animation
virtual void MergeSequence(IFacialAnimSequence* pMergeSequence, const Functor1wRet<const char*, MergeCollisionAction>& collisionStrategy) = 0;
virtual void Release() = 0;
virtual void RemoveChannel(IFacialAnimChannel * pChannel) = 0;
virtual void Serialize(XmlNodeRef & xmlNode, bool bLoading, ESerializationFlags flags = SFLAG_ALL) = 0;
virtual void SetFlags(int nFlags) = 0;
virtual void SetInMemory(bool bInMemory) = 0;
virtual void SetJoystickFile(const char* joystickFile) = 0;
Set the name of the joysticks associated with this sequence.
virtual void SetName(const char * sNewName) = 0;
Changes sequence name.
virtual void SetTimeRange(Range range) = 0;
virtual bool StartStreaming(const char* sFilename) = 0;