This is the display information structure.
This structure holds the information describing 3ds Max's current system of measurement. This includes the type of units used, how they are displayed and any custom unit name and scale.
#include <units.h>
Public Attributes |
|
int | dispType |
Unit Display Type. |
|
int | metricDisp |
Metric display option. |
|
int | usDisp |
US display option. |
|
int | usFrac |
US fraction option. |
|
MSTR | customName |
Custom unit name. |
|
float | customValue |
Custom unit value. |
|
int | customUnit |
Custom unit reference. |
int dispType |
Unit Display Type.
One of the following values:
int metricDisp |
Metric display option.
One of the following values:
int usDisp |
US display option.
One of the following values:
int usFrac |
US fraction option.
One of the following values:
Custom unit name.
float customValue |
Custom unit value.
int customUnit |
Custom unit reference.
Note: The three custom settings above are related as follows: If
for example the customName is set to "FL" for furlongs (which is
equal to 660 feet), customValue should equal 660.0 and customUnit
should equal UNITS_FEET.