The HKeyframeString class is used for any string related keyframes. More...
#include <HBhvUtility.h>
Public Member Functions | |
virtual HKeyframe * | Clone () |
char * | GetTarget () |
HKeyframeString () | |
virtual void | Serialize (HUtilityXMLTag *xmlgen) |
void | SetTarget (const char *target) |
![]() | |
HKeyframe () | |
virtual void | SetConstant (bool constant) |
virtual void | SetEaseInOut (bool easeinout) |
virtual void | SetRelative (bool relative) |
Public Attributes | |
bool | m_bDiscrete |
char | m_target [MVO_BUFFER_SIZE] |
![]() | |
bool | m_bConstant |
bool | m_bEaseInOut |
bool | m_bRelative |
HANIKeyframeType | m_type |
Detailed Description
The HKeyframeString class is used for any string related keyframes.
String keyframes can contain a segment path in the case of segment switch interpolation or some other text based identifier.
Constructor & Destructor Documentation
◆ HKeyframeString()
HKeyframeString::HKeyframeString | ( | ) |
Constructs a HKeyframeString object.
Member Function Documentation
◆ Clone()
|
inlinevirtual |
This method makes an exact copy of the current HKeyframeString and returns a pointer to the newly created HKeyframeString object.
- Returns
- A pointer to the newly created HKeyframeString object.
Reimplemented from HKeyframe.
◆ GetTarget()
|
inline |
- Returns
- The target string.
◆ Serialize()
|
virtual |
Writes XML data to a buffer.
Reimplemented from HKeyframe.
◆ SetTarget()
void HKeyframeString::SetTarget | ( | const char * | target | ) |
Sets a new target string.
- Parameters
-
target The new target for the interpolation.
Referenced by HBhvInterpolatorAttSwitch::Insert(), HBhvInterpolatorVertexMorph::Insert(), HBhvInterpolatorColorMorph::Insert(), HBhvInterpolatorSegSwitch::Insert(), HBhvInterpolatorSegMove::Insert(), HBhvInterpolatorAttSwitch::Replace(), HBhvInterpolatorVertexMorph::Replace(), HBhvInterpolatorColorMorph::Replace(), HBhvInterpolatorSegSwitch::Replace(), and HBhvInterpolatorSegMove::Replace().
Member Data Documentation
◆ m_target
char HKeyframeString::m_target[MVO_BUFFER_SIZE] |
Keyframe Target
The documentation for this class was generated from the following file: