|
FBX C++ API Reference
|
#include <fbxpropertytypes.h>
FBX SDK half-float class.
Property used to store half-float (16 bit float) number. This class only holds the value in 2 byte buffer (unsigned short). There is no direct math manipulation of this type except for the conversion to/from float. On disk, this type is also saved as an unsigned short.
Definition at line 156 of file fbxpropertytypes.h.
Public Member Functions | |
| FbxHalfFloat & | operator= (const FbxHalfFloat &pValue) |
| Assign operator. More... | |
Constructors | |
| FbxHalfFloat () | |
| FbxHalfFloat (float pVal) | |
| FbxHalfFloat (const FbxHalfFloat &pVal) | |
boolean operation | |
| bool | operator== (const FbxHalfFloat &pRHS) const |
| Equivalence operator. More... | |
| bool | operator!= (const FbxHalfFloat &pRHS) const |
| Non-equivalence operator. More... | |
Access | |
| const float | value () const |
| Retrieve the value as a float. More... | |
| unsigned const short | internal_value () const |
| Retrieve the value as it is stored. More... | |
| FbxHalfFloat | ( | ) |
| FbxHalfFloat | ( | float | pVal | ) |
| FbxHalfFloat | ( | const FbxHalfFloat & | pVal | ) |
| FbxHalfFloat& operator= | ( | const FbxHalfFloat & | pValue | ) |
Assign operator.
| pValue | The half-float to be assigned to this instance. |
| bool operator== | ( | const FbxHalfFloat & | pRHS | ) | const |
Equivalence operator.
| pRHS | The half-float to be compared with this one. |
True, if the two values are equal, false otherwise. | bool operator!= | ( | const FbxHalfFloat & | pRHS | ) | const |
Non-equivalence operator.
| pRHS | The half-float to be compared with this one |
True, if the two values are unequal, false otherwise. | const float value | ( | ) | const |
Retrieve the value as a float.
| unsigned const short internal_value | ( | ) | const |
Retrieve the value as it is stored.