This reference page is linked to from the following overview topics: FBProperty - Object Properties.
Animatable property base class.
Definition at line 1317 of file fbproperties.h.
#include <fbproperties.h>
Public Member Functions |
|
FBPropertyAnimatable () | |
Constructor. |
|
virtual | ~FBPropertyAnimatable () |
Destructor. |
|
FBPropertyAnimatable * | InitInternal (KEvaluationProperty *pProperty) |
Initialize internal pointer. |
|
FBPropertyAnimatable * | Init (HFBBox pOwner, char *pName, char *pType, double *pInit) |
Initialization function (custom). |
|
void | Destroy () |
Destruction function, for internal
connectors. |
|
virtual KDataType * | GetDataType () override |
Get the property datatype pointer. |
|
char * | GetDataTypeName () |
Get the property datatype name. |
|
bool | IsFocused () |
Is the property focused (keyable). |
|
void | SetFocus (bool pState) |
Set the property's focus (keyable) state.
|
|
void | Key () |
Key the connector. |
|
int | GetDataSize () const |
Get the data size (number of values) for the
connector. |
|
virtual bool | IsAnimatable () override |
Certify that the property is animatable.
|
|
bool | IsAnimated () |
Is the property animated. |
|
void | SetAnimated (bool pState) |
Set the animation state of the property.
|
|
FBAnimationNode * | GetAnimationNode (FBTake *pTake=NULL) |
Get the animation node for the property.
|
|
HFBBox | GetBox () |
Get the owner box. |
|
virtual void | SetData (void *pData) override |
Set the value of the property, passing the
type as an argument. |
|
virtual void | GetData (void *pData, int pSize, HFBEvaluateInfo pEvalInfo=NULL) const override |
Get the value of a property. |
Constructor.
virtual ~FBPropertyAnimatable | ( | ) | [virtual] |
Destructor.
FBPropertyAnimatable* InitInternal | ( | KEvaluationProperty * | pProperty | ) |
Initialize internal pointer.
FBPropertyAnimatable* Init | ( | HFBBox | pOwner, |
char * | pName, | ||
char * | pType, | ||
double * | pInit | ||
) |
Initialization function (custom).
pOwner | Owner box object. |
pName | Name of property to add. |
pType | Type name (string) of property. |
pInit | Initialization value. |
void Destroy | ( | ) |
Destruction function, for internal connectors.
Used in the case of custom properties in order to remove the connectors.
virtual KDataType* GetDataType | ( | ) | [override, virtual] |
char* GetDataTypeName | ( | ) |
Get the property datatype name.
bool IsFocused | ( | ) |
Is the property focused (keyable).
void SetFocus | ( | bool | pState | ) |
Set the property's focus (keyable) state.
pState | Focus (keyable) state to set for the property. |
void Key | ( | ) |
Key the connector.
int GetDataSize | ( | ) | const |
Get the data size (number of values) for the connector.
virtual bool IsAnimatable | ( | ) | [inline, override, virtual] |
Certify that the property is animatable.
Reimplemented from FBProperty.
Definition at line 1380 of file fbproperties.h.
{ return true; }
bool IsAnimated | ( | ) |
Is the property animated.
This is true if the property has an FCurve associated to it.
void SetAnimated | ( | bool | pState | ) |
Set the animation state of the property.
pState | State of animation for property, true to animate, false to remove curves. |
FBAnimationNode* GetAnimationNode | ( | FBTake * | pTake = NULL |
) |
Get the animation node for the property.
pTake | to get the animation node from. |
HFBBox GetBox | ( | ) |
virtual void SetData | ( | void * | pData | ) | [override, virtual] |
Set the value of the property, passing the type as an argument.
pData | Value to affect property with. |
Reimplemented from FBProperty.
virtual void GetData | ( | void * | pData, |
int | pSize, | ||
HFBEvaluateInfo | pEvalInfo =
NULL |
||
) | const [override, virtual] |
Get the value of a property.
pValue | Value to fill with property's current value. |