|
| AZ_RTTI ((TUiAnimSplineTrack, "{A78AAC62-84D0-4E2E-958E-564F51A140D2}", ValueType), IUiAnimTrack) |
|
void | add_ref () override |
|
void | release () override |
|
int | GetSubTrackCount () const override |
|
IUiAnimTrack * | GetSubTrack ([[maybe_unused]] int nIndex) const override |
|
AZStd::string | GetSubTrackName ([[maybe_unused]] int nIndex) const override |
|
void | SetSubTrackName ([[maybe_unused]] int nIndex, [[maybe_unused]] const char *name) override |
|
const CUiAnimParamType & | GetParameterType () const override |
|
void | SetParameterType (CUiAnimParamType type) override |
|
const UiAnimParamData & | GetParamData () const override |
|
void | SetParamData (const UiAnimParamData ¶m) override |
|
void | GetKeyValueRange (float &fMin, float &fMax) const override |
|
void | SetKeyValueRange (float fMin, float fMax) override |
|
ISplineInterpolator * | GetSpline () const override |
|
bool | IsKeySelected (int key) const override |
|
void | SelectKey (int key, bool select) override |
|
int | GetNumKeys () const override |
| Return number of keys in track.
|
|
void | SetNumKeys (int numKeys) override |
|
bool | HasKeys () const override |
| Return true if keys exists in this track.
|
|
void | RemoveKey (int num) override |
| Remove specified key.
|
|
void | GetKey (int index, IKey *key) const override |
|
void | SetKey (int index, IKey *key) override |
|
float | GetKeyTime (int index) const override |
|
void | SetKeyTime (int index, float time) override |
| Set time of specified key.
|
|
int | GetKeyFlags (int index) override |
|
void | SetKeyFlags (int index, int flags) override |
| Set flags of specified key.
|
|
EUiAnimCurveType | GetCurveType () override |
|
EUiAnimValue | GetValueType () override |
|
void | GetValue (float time, float &value) override |
|
void | GetValue ([[maybe_unused]] float time, [[maybe_unused]] Vec3 &value) override |
|
void | GetValue ([[maybe_unused]] float time, [[maybe_unused]] Vec4 &value) override |
|
void | GetValue ([[maybe_unused]] float time, [[maybe_unused]] Quat &value) override |
|
void | GetValue ([[maybe_unused]] float time, [[maybe_unused]] bool &value) override |
|
void | GetValue ([[maybe_unused]] float time, [[maybe_unused]] AZ::Vector2 &value) override |
|
void | GetValue ([[maybe_unused]] float time, [[maybe_unused]] AZ::Vector3 &value) override |
|
void | GetValue ([[maybe_unused]] float time, [[maybe_unused]] AZ::Vector4 &value) override |
|
void | GetValue ([[maybe_unused]] float time, [[maybe_unused]] AZ::Color &value) override |
|
void | SetValue (float time, const float &value, bool bDefault=false) override |
|
void | SetValue ([[maybe_unused]] float time, [[maybe_unused]] const Vec3 &value, [[maybe_unused]] bool bDefault=false) override |
|
void | SetValue ([[maybe_unused]] float time, [[maybe_unused]] const Vec4 &value, [[maybe_unused]] bool bDefault=false) override |
|
void | SetValue ([[maybe_unused]] float time, [[maybe_unused]] const Quat &value, [[maybe_unused]] bool bDefault=false) override |
|
void | SetValue ([[maybe_unused]] float time, [[maybe_unused]] const bool &value, [[maybe_unused]] bool bDefault=false) override |
|
void | SetValue ([[maybe_unused]] float time, [[maybe_unused]] const AZ::Vector2 &value, [[maybe_unused]] bool bDefault=false) override |
|
void | SetValue ([[maybe_unused]] float time, [[maybe_unused]] const AZ::Vector3 &value, [[maybe_unused]] bool bDefault=false) override |
|
void | SetValue ([[maybe_unused]] float time, [[maybe_unused]] const AZ::Vector4 &value, [[maybe_unused]] bool bDefault=false) override |
|
void | SetValue ([[maybe_unused]] float time, [[maybe_unused]] const AZ::Color &value, [[maybe_unused]] bool bDefault=false) override |
|
void | OffsetKeyPosition ([[maybe_unused]] const AZ::Vector3 &value) override |
|
bool | Serialize (IUiAnimationSystem *uiAnimationSystem, XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks) override |
|
bool | SerializeSelection (XmlNodeRef &xmlNode, bool bLoading, bool bCopySelected, float fTimeOffset) override |
|
void | GetKeyInfo (int key, const char *&description, float &duration) override |
|
void | SortKeys () override |
| Sort keys in track (after time of keys was modified).
|
|
int | GetFlags () override |
| Get track flags.
|
|
bool | IsMasked ([[maybe_unused]] const uint32 mask) const override |
| Check if track is masked by mask.
|
|
void | SetFlags (int flags) override |
| Set track flags.
|
|
void | Invalidate () |
|
void | SetTimeRange (const Range &timeRange) override |
|
int | FindKey (float time) override |
|
int | CreateKey (float time) override |
| Create key at given time, and return its index.
|
|
int | CloneKey (int srcKey) override |
|
int | CopyKey (IUiAnimTrack *pFromTrack, int nFromKey) override |
|
void | SetKeyAtTime (float time, IKey *key) |
|
virtual void | SetDefaultValue (const ValueType &value) |
|
ColorB | GetCustomColor () const |
|
void | SetCustomColor (ColorB color) |
|
bool | HasCustomColor () const |
|
void | ClearCustomColor () |
|
virtual IUiAnimTrack * | GetSubTrack (int nIndex) const =0 |
|
virtual AZStd::string | GetSubTrackName (int nIndex) const =0 |
|
virtual void | SetSubTrackName (int nIndex, const char *name)=0 |
|
virtual bool | IsMasked (const uint32 mask) const =0 |
| Check if track is masked by mask.
|
|
virtual void | GetValue (float time, Vec3 &value)=0 |
|
virtual void | GetValue (float time, Vec4 &value)=0 |
|
virtual void | GetValue (float time, Quat &value)=0 |
|
virtual void | GetValue (float time, bool &value)=0 |
|
virtual void | GetValue (float time, AZ::Vector2 &value)=0 |
|
virtual void | GetValue (float time, AZ::Vector3 &value)=0 |
|
virtual void | GetValue (float time, AZ::Vector4 &value)=0 |
|
virtual void | GetValue (float time, AZ::Color &value)=0 |
|
virtual void | SetValue (float time, const Vec3 &value, bool bDefault=false)=0 |
|
virtual void | SetValue (float time, const Vec4 &value, bool bDefault=false)=0 |
|
virtual void | SetValue (float time, const Quat &value, bool bDefault=false)=0 |
|
virtual void | SetValue (float time, const bool &value, bool bDefault=false)=0 |
|
virtual void | SetValue (float time, const AZ::Vector2 &value, bool bDefault=false)=0 |
|
virtual void | SetValue (float time, const AZ::Vector3 &value, bool bDefault=false)=0 |
|
virtual void | SetValue (float time, const AZ::Vector4 &value, bool bDefault=false)=0 |
|
virtual void | SetValue (float time, const AZ::Color &value, bool bDefault=false)=0 |
|
virtual void | OffsetKeyPosition (const AZ::Vector3 &value)=0 |
|
virtual void | InitPostLoad (IUiAnimSequence *) |
|
virtual void | Animate ([[maybe_unused]] SUiAnimContext &ec) |
| For custom track animate parameters.
|
|
virtual bool | IsKeySelected ([[maybe_unused]] int key) const |
|
virtual void | SelectKey ([[maybe_unused]] int key, [[maybe_unused]] bool select) |
|
virtual int | NextKeyByTime (int key) const |
|
virtual int | GetAnimationLayerIndex () const |
| Get the animation layer index assigned. (only for character/look-at tracks ATM)
|
|
virtual void | SetAnimationLayerIndex ([[maybe_unused]] int index) |
| Set the animation layer index. (only for character/look-at tracks ATM)
|
|
template<class ValueType>
class TUiAnimSplineTrack< ValueType >
Templated class that used as a base for all Tcb spline tracks.