FbxHalfFloat Class Reference

FbxHalfFloat Class Reference

#include <fbxpropertytypes.h>

Class Description

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

FbxHalfFloatoperator= (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...
 

Constructor & Destructor Documentation

FbxHalfFloat ( float  pVal)
FbxHalfFloat ( const FbxHalfFloat pVal)

Member Function Documentation

FbxHalfFloat& operator= ( const FbxHalfFloat pValue)

Assign operator.

Parameters
pValueThe half-float to be assigned to this instance.
Returns
This half-float.
bool operator== ( const FbxHalfFloat pRHS) const

Equivalence operator.

Parameters
pRHSThe half-float to be compared with this one.
Returns
True, if the two values are equal, false otherwise.
bool operator!= ( const FbxHalfFloat pRHS) const

Non-equivalence operator.

Parameters
pRHSThe half-float to be compared with this one
Returns
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.


The documentation for this class was generated from the following file: