added full rational class

This commit is contained in:
itsmattkc
2019-05-17 19:59:26 +10:00
parent c616bc2b61
commit 00d3a4f105
6 changed files with 511 additions and 13 deletions
+20
View File
@@ -174,6 +174,16 @@ public:
*/
bool IsKeyframable();
/**
* @brief Get value
*
* A convenience value for a parameters that doesn't keyframe. Equivalent to GetValueAt(0) where the parameter
* doesn't keyframe so the 0 is ignored.
*
* @param value
*/
QVariant GetValue();
/**
* @brief Get value at a given timecode
*
@@ -193,6 +203,16 @@ public:
*/
virtual QVariant GetValueAt(double timecode);
/**
* @brief Set value
*
* A convenience value for a parameters that doesn't keyframe. Equivalent to SetValueAt(0, value) where the parameter
* doesn't keyframe so the 0 is ignored.
*
* @param value
*/
void SetValue(const QVariant& value);
/**
* @brief SetValueAt
*