#include <fbxpropertyhandle.h>
Class to manage property handle.
Definition at line 31 of file fbxpropertyhandle.h.
Constructor and Destructor |
|
| static FbxPropertyHandle | Create () |
| Create an instance. |
|
| static FbxPropertyHandle | Create (const FbxPropertyHandle &pInstanceOf) |
| Create an instance with given instance.
|
|
| static FbxPropertyHandle | Create (const char *pName, EFbxType pType=eFbxUndefined) |
| Create an instance with given name and type.
|
|
| static FbxPropertyHandle | Create (const char *pName, FbxPropertyHandle pTypeInfo) |
| Create an instance with given name and type
info. |
|
| bool | Destroy () |
| If this property is root property, delete
the property page, otherwise delete the property. |
|
| FbxPropertyHandle () | |
| Default constructor. |
|
| FbxPropertyHandle (const FbxPropertyHandle &pAddress) | |
| Copy constructor. |
|
| ~FbxPropertyHandle () | |
| Destructor. |
|
| FbxPropertyHandle (FbxPropertyPage *pPage, FbxInt pId=FBXSDK_PROPERTY_ID_ROOT) | |
| Character constructor. |
|
Assignment and basic info |
|
| FbxPropertyHandle & | operator= (const FbxPropertyHandle &pHandle) |
| FbxPropertyHandle assignment
operator. |
|
| bool | operator== (const FbxPropertyHandle &pHandle) const |
| Equality operator. |
|
| bool | operator!= (const FbxPropertyHandle &pHandle) const |
| Inequality operator. |
|
| bool | Is (const FbxPropertyHandle &pHandle) const |
| Compare type info together. |
|
| bool | Valid () const |
| Judge validity. |
|
| const char * | GetName () const |
| Get the property name. |
|
| const char * | GetLabel () const |
| Get the property label. |
|
| bool | SetLabel (const char *pLabel) |
| Set a label to the property. |
|
| EFbxType | GetType () const |
| Get the property type. |
|
| FbxPropertyHandle | GetTypeInfo () const |
| Get the property type info. |
|
| FbxPropertyAttr::EFlags | GetFlags () const |
| Get the property attribute state. |
|
| FbxPropertyAttr::EInheritType | GetFlagsInheritType (FbxPropertyAttr::EFlags pFlags, bool pCheckReferences) const |
| Gets the inheritance type for the given
flag. |
|
| bool | ModifyFlags (FbxPropertyAttr::EFlags pFlags, bool pValue) |
| According the given parameter Change the
attributes of the property. |
|
| bool | SetFlagsInheritType (FbxPropertyAttr::EFlags pFlags, FbxPropertyAttr::EInheritType pType) |
| Sets the inheritance type for the given
flag. |
|
| void * | GetUserData () const |
| Get the property user data. |
|
| bool | SetUserData (const void *pUserData) |
| Set user data to the property. |
|
| int | GetUserTag () const |
| Get the property user tag. |
|
| bool | SetUserTag (int pUserData) |
| Set user tag to the property. |
|
Enum management |
|
| int | AddEnumValue (const char *pStringValue) |
| Add new value at the end of the enum list in
the property. |
|
| void | InsertEnumValue (int pIndex, const char *pStringValue) |
| Insert new value at the given index of the
enum list in property. |
|
| int | GetEnumCount () |
| Get the enum count of enum list in property.
|
|
| void | SetEnumValue (int pIndex, const char *pStringValue) |
| Set value at the given index of the enum
list in the property. |
|
| void | RemoveEnumValue (int pIndex) |
| Remove the value at the index of the enum
list in the property. |
|
| char * | GetEnumValue (int pIndex) |
| Get the value at the index of enum list in
the property. |
|
Child and Struct management |
|
| void | BeginCreateOrFindProperty () |
| Create the map for find property in the
property page. |
|
| void | EndCreateOrFindProperty () |
| Clear the map which created for find
property. |
|
| bool | IsRoot () const |
| Judge if the property is the root property.
|
|
| bool | IsChildOf (const FbxPropertyHandle &pParent) const |
| Judge if the property is the child property
of the given parent property. |
|
| bool | IsDescendentOf (const FbxPropertyHandle &pParent) const |
| Judge if the property is descendent property
of the given property. |
|
| bool | SetParent (const FbxPropertyHandle &pOther) |
| Set parent property handle.No matter what
enters,the result is always false. |
|
| FbxPropertyHandle | Add (const char *pName, const FbxPropertyHandle &pTypeInfo) |
| Add a property to the property page.
|
|
| FbxPropertyHandle | GetParent () const |
| Get parent property. |
|
| FbxPropertyHandle | GetChild () const |
| Get child property. |
|
| FbxPropertyHandle | GetSibling () const |
| Get sibling property. |
|
| FbxPropertyHandle | GetFirstDescendent () const |
| Get first descendent property. |
|
| FbxPropertyHandle | GetNextDescendent (const FbxPropertyHandle &pHandle) const |
| Get first descendent property which after
the given property. |
|
| FbxPropertyHandle | Find (const char *pName, bool pCaseSensitive) const |
| Find the property with given name. |
|
| FbxPropertyHandle | Find (const char *pName, const FbxPropertyHandle &pTypeInfo, bool pCaseSensitive) const |
| Find the property with given name and type
info. |
|
| FbxPropertyHandle | Find (const char *pName, const char *pChildrenSeparator, bool pCaseSensitive) const |
| Separate the given name by children
separator string and then find the property.The step is strip the
first part of the name and search, if the property can be found,
strip the second part of the name and continue search, until no
property be found,then return the last found property. |
|
| FbxPropertyHandle | Find (const char *pName, const char *pChildrenSeparator, const FbxPropertyHandle &pTypeInfo, bool pCaseSensitive) const |
| Separate the given name by children
separator string and then find the property.The step is strip the
first part of the name and search, if the property can be found,
strip the second part of the name and continue search, until no
property be found,then return the last found property. |
|
Connection management |
|
| bool | ConnectSrc (const FbxPropertyHandle &pSrc, const FbxConnection::EType pType=FbxConnection::eDefault) |
| Connect source property. |
|
| int | GetSrcCount (FbxConnectionPointFilter *pFilter=0) const |
| Get source properties' count. |
|
| FbxPropertyHandle | GetSrc (FbxConnectionPointFilter *pFilter=0, int pIndex=0) const |
| Get source property with the given index.
|
|
| bool | DisconnectSrc (const FbxPropertyHandle &pSrc) |
| Disconnect source property. |
|
| bool | IsConnectedSrc (const FbxPropertyHandle &pSrc) |
| Judge if it is connected with the given
source property. |
|
| bool | ConnectDst (const FbxPropertyHandle &pDst, const FbxConnection::EType pType=FbxConnection::eDefault) |
| Connect destination property. |
|
| int | GetDstCount (FbxConnectionPointFilter *pFilter=0) const |
| Get destination properties' count. |
|
| FbxPropertyHandle | GetDst (FbxConnectionPointFilter *pFilter=0, int pIndex=0) const |
| Get destination property with the given
index. |
|
| bool | DisconnectDst (const FbxPropertyHandle &pDst) |
| Disconnect destination property. |
|
| bool | IsConnectedDst (const FbxPropertyHandle &pDst) |
| Judge if it is connected with the given
destination property. |
|
| void | ClearConnectCache () |
| Clear connect cache. |
|
| void | WipeAllConnections () |
| Clear all connect without sending any
notification (Internal use ONLY) |
|
Limits Functions |
|
|
Minimum and maximum value limits can be associated with properties, but FBX will not verify that these limits are respected. FBX however will store and retrieve limits from files, and will assure that they are persistent in memory while the property handle object exists. Soft minimums and maximums values are specifying a second set of limits that can be used for UI objects such as sliders. FBX will handle them the same way it does with the normal limits. |
|
| bool | HasMin () const |
| Judge if this property has a minimum value.
|
|
| bool | GetMin (void *pValue, EFbxType pValueType) const |
| Get the minimum value and value type of this
property. |
|
| bool | SetMin (const void *pValue, EFbxType pValueType) |
| Set the minimum value and value type for
this property. |
|
| template<class T > | |
| bool | SetMin (const T &pValue) |
| According the given value and its value
type, set the minimum value and value type for this property.
|
|
| template<class T > | |
| T | GetMin (const T *pFBX_TYPE) const |
| Get the minimum value of this property.
|
|
| bool | HasSoftMin () const |
| Judge if this property has soft minimum
value. |
|
| bool | GetSoftMin (void *pValue, EFbxType pValueType) const |
| Get the soft minimum value and value type of
this property. |
|
| bool | SetSoftMin (const void *pValue, EFbxType pValueType) |
| Set the soft minimum value and value type
for this property. |
|
| template<class T > | |
| bool | SetSoftMin (const T &pValue) |
| According the given value and its value
type, set the soft minimum value and value type for this property.
|
|
| template<class T > | |
| T | GetSoftMin (const T *pFBX_TYPE) const |
| Get the soft minimum value of this property.
|
|
| bool | HasMax () const |
| Judge if this property has maximum value.
|
|
| bool | GetMax (void *pValue, EFbxType pValueType) const |
| Get the maximum value and value type of this
property. |
|
| bool | SetMax (const void *pValue, EFbxType pValueType) |
| Set the maximum value and value type for
this property. |
|
| template<class T > | |
| bool | SetMax (const T &pValue) |
| According the given value and its value
type, set the maximum value and value type for this property.
|
|
| template<class T > | |
| T | GetMax (const T *pFBX_TYPE) const |
| Get the maximum value of this property.
|
|
| bool | HasSoftMax () const |
| Judge if this property has soft maximum
value. |
|
| bool | GetSoftMax (void *pValue, EFbxType pValueType) const |
| Get the soft maximum value and value type of
this property. |
|
| bool | SetSoftMax (const void *pValue, EFbxType pValueType) |
| Set the soft maximum value and value type
for this property. |
|
| template<class T > | |
| bool | SetSoftMax (const T &pValue) |
| According the given value and its value
type, set the soft maximum value and value type for this property.
|
|
| template<class T > | |
| T | GetSoftMax (const T *pFBX_TYPE) const |
| Get the soft maximum value of this property.
|
|
Value |
|
| FbxPropertyAttr::EInheritType | GetValueInheritType (bool pCheckReferences) const |
| Get value inherit type of this property.
|
|
| bool | SetValueInheritType (FbxPropertyAttr::EInheritType pType) |
| Set value inherit type for this property .
|
|
| bool | GetDefaultValue (void *pValue, EFbxType pValueType) const |
| Get default value and value type of this
property . |
|
| bool | Get (void *pValue, EFbxType pValueType) const |
| Get value and value type of this property .
|
|
| bool | Set (const void *pValue, EFbxType pValueType, bool pCheckValueEquality) |
| Set property value and value type for this
property. |
|
| template<class T > | |
| bool | Set (const T &pValue) |
| Set property value with the given value .
|
|
| template<class T > | |
| T | Get (const T *pFBX_TYPE) const |
| get property value. |
|
Page settings |
|
| void | SetPageDataPtr (void *pData) |
| Set the property page data pointer. |
|
| void * | GetPageDataPtr () const |
| Get property page data pointer. |
|
Page Internal Entry Management |
|
| bool | PushPropertiesToParentInstance () |
| Push properties to parent instance. |
|
Reference Management |
|
| bool | IsAReferenceTo (void) const |
| Judge if this property page is a instance of
other page. |
|
| void * | GetReferenceTo (void) const |
| Get the property page which this property
page make reference to. |
|
| bool | IsReferencedBy (void) const |
| Judge if this property page is referenced by
other pages. |
|
| int | GetReferencedByCount (void) const |
| Get the count of property pages which make
reference to this property page. |
|
| void * | GetReferencedBy (int pIndex) const |
| According the given index,get the property
page which make reference to this property page. |
|
Default constructor.
| FbxPropertyHandle | ( | const FbxPropertyHandle & | pAddress | ) |
Copy constructor.
| pAddress | FbxPropertyHandle copied to this one. |
| ~FbxPropertyHandle | ( | ) |
Destructor.
| FbxPropertyHandle | ( | FbxPropertyPage * | pPage, |
| FbxInt | pId =
FBXSDK_PROPERTY_ID_ROOT |
||
| ) |
Character constructor.
| pPage | |
| pId |
| static FbxPropertyHandle Create | ( | ) | [static] |
Create an instance.
| static FbxPropertyHandle Create | ( | const FbxPropertyHandle & | pInstanceOf | ) | [static] |
Create an instance with given instance.
| pInstanceOf | The given instance. |
| static FbxPropertyHandle Create | ( | const char * | pName, |
| EFbxType | pType =
eFbxUndefined |
||
| ) | [static] |
| static FbxPropertyHandle Create | ( | const char * | pName, |
| FbxPropertyHandle | pTypeInfo | ||
| ) | [static] |
Create an instance with given name and type info.
| pName | |
| pTypeInfo |
| bool Destroy | ( | ) |
If this property is root property, delete the property page, otherwise delete the property.
| FbxPropertyHandle& operator= | ( | const FbxPropertyHandle & | pHandle | ) |
FbxPropertyHandle assignment operator.
| pHandle | FbxPropertyHandle assigned to this one. |
| bool operator== | ( | const FbxPropertyHandle & | pHandle | ) | const |
Equality operator.
| pHandle | FbxPropertyHandle compared with this one. |
True if equal, false otherwise.| bool operator!= | ( | const FbxPropertyHandle & | pHandle | ) | const |
Inequality operator.
| pHandle | FbxPropertyHandle compared with this one. |
True if unequal, false
otherwise.| bool Is | ( | const FbxPropertyHandle & | pHandle | ) | const |
Compare type info together.
| pHandle | FbxPropertyHandle compared with this one. |
True if equal, false otherwise.| bool Valid | ( | ) | const |
Judge validity.
| const char* GetName | ( | ) | const |
Get the property name.
| const char* GetLabel | ( | ) | const |
Get the property label.
| bool SetLabel | ( | const char * | pLabel | ) |
Set a label to the property.
| pLabel | The given label string |
| EFbxType GetType | ( | ) | const |
Get the property type.
| FbxPropertyHandle GetTypeInfo | ( | ) | const |
Get the property type info.
| FbxPropertyAttr::EFlags GetFlags | ( | ) | const |
Get the property attribute state.
| FbxPropertyAttr::EInheritType GetFlagsInheritType | ( | FbxPropertyAttr::EFlags | pFlags, |
| bool | pCheckReferences | ||
| ) | const |
Gets the inheritance type for the given flag.
| pFlags | The flag to query |
| pCheckReferences | Decide whether check instance. If it is true, check instance. |
| bool ModifyFlags | ( | FbxPropertyAttr::EFlags | pFlags, |
| bool | pValue | ||
| ) |
According the given parameter Change the attributes of the property.
| pFlags | The given flags used as mask. |
| pValue | If pValue is true, set mask with given flags, otherwise unset mask with given flags. |
| bool SetFlagsInheritType | ( | FbxPropertyAttr::EFlags | pFlags, |
| FbxPropertyAttr::EInheritType | pType | ||
| ) |
Sets the inheritance type for the given flag.
| pFlags | The flag to set |
| pType | The inheritance type to set |
| void* GetUserData | ( | ) | const |
Get the property user data.
| bool SetUserData | ( | const void * | pUserData | ) |
Set user data to the property.
| pUserData | The given user data |
| int GetUserTag | ( | ) | const |
Get the property user tag.
| bool SetUserTag | ( | int | pUserData | ) |
Set user tag to the property.
| pUserData | The given user tag |
| int AddEnumValue | ( | const char * | pStringValue | ) |
Add new value at the end of the enum list in the property.
| pStringValue | The given new value |
| void InsertEnumValue | ( | int | pIndex, |
| const char * | pStringValue | ||
| ) |
Insert new value at the given index of the enum list in property.
| pIndex | The given index |
| pStringValue | The given new value |
| int GetEnumCount | ( | ) |
Get the enum count of enum list in property.
| void SetEnumValue | ( | int | pIndex, |
| const char * | pStringValue | ||
| ) |
Set value at the given index of the enum list in the property.
| pIndex | The given index |
| pStringValue | The given new value used to instead the old value. |
| void RemoveEnumValue | ( | int | pIndex | ) |
Remove the value at the index of the enum list in the property.
| pIndex | The given index |
| char* GetEnumValue | ( | int | pIndex | ) |
Get the value at the index of enum list in the property.
| pIndex | The given index |
| void BeginCreateOrFindProperty | ( | ) |
Create the map for find property in the property page.
| void EndCreateOrFindProperty | ( | ) |
Clear the map which created for find property.
| bool IsRoot | ( | ) | const [inline] |
Judge if the property is the root property.
Definition at line 230 of file fbxpropertyhandle.h.
{ return (mPage && (mId==0)) ? true : false; }
| bool IsChildOf | ( | const FbxPropertyHandle & | pParent | ) | const |
Judge if the property is the child property of the given parent property.
| pParent | The given parent property handle |
| bool IsDescendentOf | ( | const FbxPropertyHandle & | pParent | ) | const |
Judge if the property is descendent property of the given property.
| pParent | The given parent property handle |
| bool SetParent | ( | const FbxPropertyHandle & | pOther | ) |
Set parent property handle.No matter what enters,the result is always false.
| pOther |
| FbxPropertyHandle Add | ( | const char * | pName, |
| const FbxPropertyHandle & | pTypeInfo | ||
| ) |
Add a property to the property page.
| pName | The name of property. |
| pTypeInfo | The added property's type info. |
| FbxPropertyHandle GetParent | ( | ) | const |
Get parent property.
| FbxPropertyHandle GetChild | ( | ) | const |
Get child property.
| FbxPropertyHandle GetSibling | ( | ) | const |
Get sibling property.
| FbxPropertyHandle GetFirstDescendent | ( | ) | const |
Get first descendent property.
| FbxPropertyHandle GetNextDescendent | ( | const FbxPropertyHandle & | pHandle | ) | const |
Get first descendent property which after the given property.
| pHandle | The given property handle |
| FbxPropertyHandle Find | ( | const char * | pName, |
| bool | pCaseSensitive | ||
| ) | const |
Find the property with given name.
| pName | The given property name |
| pCaseSensitive | Decide if the given property name is case sensitive |
| FbxPropertyHandle Find | ( | const char * | pName, |
| const FbxPropertyHandle & | pTypeInfo, | ||
| bool | pCaseSensitive | ||
| ) | const |
Find the property with given name and type info.
| pName | The given property name |
| pTypeInfo | The given property type info |
| pCaseSensitive | Decide if the given property name is case sensitive |
| FbxPropertyHandle Find | ( | const char * | pName, |
| const char * | pChildrenSeparator, | ||
| bool | pCaseSensitive | ||
| ) | const |
Separate the given name by children separator string and then find the property.The step is strip the first part of the name and search, if the property can be found, strip the second part of the name and continue search, until no property be found,then return the last found property.
| pName | The given property name |
| pChildrenSeparator | The given children separator string |
| pCaseSensitive | Decide if the given property name is case sensitive |
| FbxPropertyHandle Find | ( | const char * | pName, |
| const char * | pChildrenSeparator, | ||
| const FbxPropertyHandle & | pTypeInfo, | ||
| bool | pCaseSensitive | ||
| ) | const |
Separate the given name by children separator string and then find the property.The step is strip the first part of the name and search, if the property can be found, strip the second part of the name and continue search, until no property be found,then return the last found property.
| pName | The given property name |
| pChildrenSeparator | The given children separator string |
| pTypeInfo | The given property type info |
| pCaseSensitive | Decide if the given property name is case sensitive |
| bool ConnectSrc | ( | const FbxPropertyHandle & | pSrc, |
| const FbxConnection::EType | pType =
FbxConnection::eDefault |
||
| ) |
Connect source property.
| pSrc | The given source property |
| pType | The given property type |
| int GetSrcCount | ( | FbxConnectionPointFilter * | pFilter = 0 |
) | const |
Get source properties' count.
| pFilter | The filter used to get sub connection point. If it is not zero, return the source count of the sub connection point. Otherwise, return the src count of this property. |
| FbxPropertyHandle GetSrc | ( | FbxConnectionPointFilter * | pFilter = 0, |
| int | pIndex = 0 |
||
| ) | const |
Get source property with the given index.
| pFilter | The filter used to get sub connection point. If it is not zero, return the source property of the sub connection point. Otherwise, return the source property of this property. |
| pIndex | The given index |
| bool DisconnectSrc | ( | const FbxPropertyHandle & | pSrc | ) |
Disconnect source property.
| pSrc | The given source property |
| bool IsConnectedSrc | ( | const FbxPropertyHandle & | pSrc | ) |
Judge if it is connected with the given source property.
| pSrc | The given source property |
| bool ConnectDst | ( | const FbxPropertyHandle & | pDst, |
| const FbxConnection::EType | pType =
FbxConnection::eDefault |
||
| ) |
Connect destination property.
| pDst | The given destination property |
| pType | The given property type |
| int GetDstCount | ( | FbxConnectionPointFilter * | pFilter = 0 |
) | const |
Get destination properties' count.
| pFilter | The filter used to get sub connection point.If it is not zero,return the destination count of the sub connection point. Otherwise, return the destination count of this property. |
| FbxPropertyHandle GetDst | ( | FbxConnectionPointFilter * | pFilter = 0, |
| int | pIndex = 0 |
||
| ) | const |
Get destination property with the given index.
| pFilter | The filter used to get sub connection point.If it is not zero,return the destination property of the sub connection point. Otherwise, return the destination property of this property. |
| pIndex | The given index |
| bool DisconnectDst | ( | const FbxPropertyHandle & | pDst | ) |
Disconnect destination property.
| pDst | The given destination property |
| bool IsConnectedDst | ( | const FbxPropertyHandle & | pDst | ) |
Judge if it is connected with the given destination property.
| pDst | The given destination property |
| void ClearConnectCache | ( | ) |
Clear connect cache.
| void WipeAllConnections | ( | ) |
Clear all connect without sending any notification (Internal use ONLY)
| bool HasMin | ( | ) | const |
Judge if this property has a minimum value.
| bool GetMin | ( | void * | pValue, |
| EFbxType | pValueType | ||
| ) | const |
Get the minimum value and value type of this property.
| pValue | The minimum value of this property. |
| pValueType | The value type of this property. |
| bool SetMin | ( | const void * | pValue, |
| EFbxType | pValueType | ||
| ) |
Set the minimum value and value type for this property.
| pValue | The given minimum value . |
| pValueType | The given value type . |
| bool SetMin | ( | const T & | pValue | ) | [inline] |
According the given value and its value type, set the minimum value and value type for this property.
| pValue | The given value . |
Definition at line 440 of file fbxpropertyhandle.h.
| T GetMin | ( | const T * | pFBX_TYPE | ) | const [inline] |
Get the minimum value of this property.
| pFBX_TYPE | Not used in this function. This is a dummy argument for the correct instantiation of the templated function. |
Definition at line 447 of file fbxpropertyhandle.h.
| bool HasSoftMin | ( | ) | const |
Judge if this property has soft minimum value.
| bool GetSoftMin | ( | void * | pValue, |
| EFbxType | pValueType | ||
| ) | const |
Get the soft minimum value and value type of this property.
| pValue | The soft minimum value of this property. |
| pValueType | The value type of this property. |
| bool SetSoftMin | ( | const void * | pValue, |
| EFbxType | pValueType | ||
| ) |
Set the soft minimum value and value type for this property.
| pValue | The given soft minimum value . |
| pValueType | The given value type . |
| bool SetSoftMin | ( | const T & | pValue | ) | [inline] |
According the given value and its value type, set the soft minimum value and value type for this property.
| pValue | The given value . |
Definition at line 472 of file fbxpropertyhandle.h.
{ return SetSoftMin( &pValue,FbxTypeOf(pValue) ); }
| T GetSoftMin | ( | const T * | pFBX_TYPE | ) | const [inline] |
Get the soft minimum value of this property.
| pFBX_TYPE | Not used in this function. This is a dummy argument for the correct instantiation of the templated function. |
Definition at line 479 of file fbxpropertyhandle.h.
{ T lValue; GetSoftMin( &lValue,FbxTypeOf(lValue) ); return lValue; }
| bool HasMax | ( | ) | const |
Judge if this property has maximum value.
| bool GetMax | ( | void * | pValue, |
| EFbxType | pValueType | ||
| ) | const |
Get the maximum value and value type of this property.
| pValue | The maximum value of this property. |
| pValueType | The value type of this property. |
| bool SetMax | ( | const void * | pValue, |
| EFbxType | pValueType | ||
| ) |
Set the maximum value and value type for this property.
| pValue | The given maximum value . |
| pValueType | The given value type . |
| bool SetMax | ( | const T & | pValue | ) | [inline] |
According the given value and its value type, set the maximum value and value type for this property.
| pValue | The given value . |
Definition at line 504 of file fbxpropertyhandle.h.
| T GetMax | ( | const T * | pFBX_TYPE | ) | const [inline] |
Get the maximum value of this property.
| pFBX_TYPE | Not used in this function. This is a dummy argument for the correct instantiation of the templated function. |
Definition at line 511 of file fbxpropertyhandle.h.
| bool HasSoftMax | ( | ) | const |
Judge if this property has soft maximum value.
| bool GetSoftMax | ( | void * | pValue, |
| EFbxType | pValueType | ||
| ) | const |
Get the soft maximum value and value type of this property.
| pValue | The soft maximum value of this property. |
| pValueType | The value type of this property. |
| bool SetSoftMax | ( | const void * | pValue, |
| EFbxType | pValueType | ||
| ) |
Set the soft maximum value and value type for this property.
| pValue | The given soft maximum value . |
| pValueType | The given value type . |
| bool SetSoftMax | ( | const T & | pValue | ) | [inline] |
According the given value and its value type, set the soft maximum value and value type for this property.
| pValue | The given value . |
Definition at line 536 of file fbxpropertyhandle.h.
{ return SetSoftMax( &pValue,FbxTypeOf(pValue) ); }
| T GetSoftMax | ( | const T * | pFBX_TYPE | ) | const [inline] |
Get the soft maximum value of this property.
| pFBX_TYPE | Not used in this function. This is a dummy argument for the correct instantiation of the templated function. |
Definition at line 543 of file fbxpropertyhandle.h.
{ T lValue; GetSoftMax( &lValue,FbxTypeOf(lValue) ); return lValue; }
| FbxPropertyAttr::EInheritType GetValueInheritType | ( | bool | pCheckReferences | ) | const |
Get value inherit type of this property.
| pCheckReferences | If it is true,check instance of this property page,otherwise,only check this page. |
| bool SetValueInheritType | ( | FbxPropertyAttr::EInheritType | pType | ) |
Set value inherit type for this property .
| pType | The given value inherit type. |
| bool GetDefaultValue | ( | void * | pValue, |
| EFbxType | pValueType | ||
| ) | const |
Get default value and value type of this property .
| pValue | The gotten default value of this property. |
| pValueType | The gotten default value type of this property. |
| bool Get | ( | void * | pValue, |
| EFbxType | pValueType | ||
| ) | const |
Get value and value type of this property .
| pValue | The gotten value of this property. |
| pValueType | The gotten value type of this property. |
| bool Set | ( | const void * | pValue, |
| EFbxType | pValueType, | ||
| bool | pCheckValueEquality | ||
| ) |
Set property value and value type for this property.
| pValue | The given property value . |
| pValueType | The given property value type |
| pCheckValueEquality | If it is true, when the given value is equal with the property value, the property value will not be set. |
| bool Set | ( | const T & | pValue | ) | [inline] |
Set property value with the given value .
| pValue | The given value . |
Definition at line 590 of file fbxpropertyhandle.h.
| T Get | ( | const T * | pFBX_TYPE | ) | const [inline] |
get property value.
| pFBX_TYPE | Not be used. |
Definition at line 596 of file fbxpropertyhandle.h.
| void SetPageDataPtr | ( | void * | pData | ) |
Set the property page data pointer.
| pData | The given page data pointer. |
| void* GetPageDataPtr | ( | ) | const |
Get property page data pointer.
| bool PushPropertiesToParentInstance | ( | ) |
Push properties to parent instance.
| bool IsAReferenceTo | ( | void | ) | const |
Judge if this property page is a instance of other page.
| void* GetReferenceTo | ( | void | ) | const |
Get the property page which this property page make reference to.
| bool IsReferencedBy | ( | void | ) | const |
Judge if this property page is referenced by other pages.
| int GetReferencedByCount | ( | void | ) | const |
Get the count of property pages which make reference to this property page.
| void* GetReferencedBy | ( | int | pIndex | ) | const |
According the given index,get the property page which make reference to this property page.
| pIndex | The given index |