Animatable property base class. More...
#include <pyfbsdk.h>
Public Member Functions | |
FBAnimationNode | GetAnimationNode () |
Get the animation node for the property. | |
FBPropertyAnimatable () | |
Constructor. | |
bool | AllowsMuting () |
AllowsMuting. | |
FBBox | GetBox () |
Get the owner box. | |
FBColor | GetColor (int pIndex) |
Get the color of a particular FCurve of the property. | |
str | GetDataTypeName () |
Get the property datatype name. | |
bool | HasSomethingMuted () |
HasSomethingMuted. | |
bool | IsAnimated () |
Is the property animated. | |
bool | IsFocused () |
Is the property focused (keyable). | |
bool | IsFocusedChild (int pIndex) |
Get the focus (keyable) state of child component. | |
bool | IsMemberMuted (int pIndex) |
IsMemberMuted. | |
bool | IsMuted () |
IsMuted. | |
Key () | |
Key the property. | |
KeyAt (FBTime pTime) | |
Key the property at time (t). | |
KeyRemoveAt (FBTime pTime) | |
Remove the key at time (t). | |
bool | ResetColor (int pIndex) |
Revert the FCurves to their default color. | |
SetAnimated (bool pState, bool pCheckLocked=False) | |
Set the animation state of the property. | |
bool | SetColor (FBColor pColor, int pIndex) |
Set the color of the FCurves for the property. | |
SetFocus (bool pState) | |
Set the property's focus (keyable) state. | |
bool | SetFocusChild (int pIndex, bool pState) |
Set the focus (keyable) state of child component. | |
SetMemberMuted (int pIndex, bool pMuted) | |
SetMemberMuted. | |
SetMuted (bool pMuted) | |
SetMuted. | |
![]() | |
FBProperty () | |
Constructor. | |
bool | AllowsLocking () |
AllowsLocking. | |
str | AsString (FBDataAsStringFlag pFlag=kFBDataAsStringUI) |
Get the property value as a string. | |
str | EnumList (int pIndex) |
Return the string of an enum value. | |
FBStringList | GetEnumStringList (bool pCreateIt=False) |
String list for enum properties. | |
float | GetMax () |
GetMax. | |
float | GetMin () |
GetMin. | |
str | GetName () |
Get the property's name. | |
bool | GetPropertyFlag (FBFlag pFlag) |
GetPropertyFlag. | |
FBFlag | GetPropertyFlags () |
GetPropertyFlags. | |
FBType | GetPropertyType () |
Get the property's type. | |
str | GetPropertyTypeName () |
Get the property's type name. | |
FBProperty | GetReferencedProperty () |
Get the referenced property, in the case of this property is a reference property (see the IsReferenceProperty() method). | |
int | GetSubMemberCount () |
GetSubMemberCount. | |
bool | HasSomethingLocked () |
HasSomethingLocked. | |
bool | IsAnimatable () |
bool | IsInternal () |
bool | IsList () |
Verify if property is of this type. | |
bool | IsLocked () |
IsLocked. | |
bool | IsMaxClamp () |
Indicate if maximum value clamping will be applied on user input value. | |
bool | IsMemberLocked (int pIndex) |
IsMemberLocked. | |
bool | IsMinClamp () |
Indicate if minimum value clamping will be applied on user input value. | |
bool | IsObjectList () |
Indicate if is an instance of FBPropertyListObject. | |
bool | IsReadOnly () |
Is property read-only? | |
bool | IsReferenceProperty () |
bool | IsTextureConnectableProperty () |
bool | IsUserProperty () |
ModifyPropertyFlag (FBFlag pFlag, bool pValue) | |
ModifyPropertyFlag. | |
NotifyEnumStringListChanged () | |
Notify system that the enum list was modified. | |
str | OriValueAsString () |
Get the property original value (before any modification) as string. | |
SetLocked (bool pLocked) | |
SetLocked. | |
SetMax (float pMax, bool pForceMaxClamp=False) | |
SetMax. | |
SetMemberLocked (int pIndex, bool pLocked) | |
SetMemberLocked. | |
SetMin (float pMin, bool pForceMinClamp=False) | |
SetMin. | |
SetName (str pName) | |
Set the property's name. | |
bool | SetString (str pString) |
Set the property value from a string. | |
Public Attributes | |
object | Data |
Read Write Property: The property data value. Type of this depends on the subclass of FBPropertyAnimatable (ex: in a FBPropertyAnimatableInt, Data is of type int). | |
![]() | |
str | Name |
Read Property: The property's name. | |
object | Data |
Read Write Property: The property data value. Type of this depends on the subclass of FBProperty (ex: in a FBPropertyInt, Data is of type int). | |
![]() | |
str | ClassGroupName |
ClassGroupName of the object. | |
int | TypeInfo |
TypeInfo. | |
Animatable property base class.
Constructor.
bool AllowsMuting | ( | ) |
AllowsMuting.
FBAnimationNode GetAnimationNode | ( | ) |
Get the animation node for the property.
FBBox GetBox | ( | ) |
Get the owner box.
Get the color of a particular FCurve of the property.
pIndex | Index of the FCurve to get the color. |
str GetDataTypeName | ( | ) |
Get the property datatype name.
bool HasSomethingMuted | ( | ) |
HasSomethingMuted.
bool IsAnimated | ( | ) |
Is the property animated.
This is true if the property has an FCurve associated to it.
bool IsFocused | ( | ) |
Is the property focused (keyable).
Get the focus (keyable) state of child component.
pIndex | Index of the child FCurve component. |
IsMemberMuted.
pIndex | Index of the sub-member of the property to check. |
bool IsMuted | ( | ) |
IsMuted.
Key | ( | ) |
Key the property.
KeyAt | ( | FBTime | pTime | ) |
Key the property at time (t).
pTime | Time at which to insert the key. |
KeyRemoveAt | ( | FBTime | pTime | ) |
Remove the key at time (t).
pTime | Time at which to insert the key. |
Revert the FCurves to their default color.
pIndex | Index of the FCurve to reset the color, use -1 to reset the color for all FCurves of the property. |
Set the animation state of the property.
pState | State of animation for property, true to animate, false to remove curves. |
pCheckLocked | Decides whether to check the locked status. |
Set the color of the FCurves for the property.
pColor | Color to set for the FCurve(s). |
pIndex | Index of the FCurve to set the new color, use -1 to set the color for all FCurves. |
SetFocus | ( | bool | pState | ) |
Set the property's focus (keyable) state.
pState | Focus (keyable) state to set for the property. |
Set the focus (keyable) state of child component.
pIndex | Index of the child FCurve component. |
pState | Focus (keyable) state to set for the property component. |
SetMemberMuted.
pIndex | Index of the sub-member of the property to mute or unmute. |
pMuted | True if the sub-member is to be muted, false if it is to be unmuted. |
SetMuted | ( | bool | pMuted | ) |
SetMuted.
pMuted | True if the property is to be muted, false if it is to be unmuted. |
object Data |
Read Write Property: The property data value. Type of this depends on the subclass of FBPropertyAnimatable (ex: in a FBPropertyAnimatableInt, Data is of type int).