| 3ds Max C++ API Reference
    | 
| Classes | |
| class | Class_ID | 
| class | Interface_ID | 
| Macros | |
| #define | TIME_TICKSPERSEC 4800 | 
| Number of ticks in a second. | |
| #define | TIME_PosInfinity TimeValue(0x7fffffff) | 
| Returns a time value that represents positive infinity. | |
| #define | TIME_NegInfinity TimeValue(0x80000000) | 
| Returns a time value that represents negative infinity. | |
| Typedefs | |
| using | ulong = unsigned long | 
| using | uchar = unsigned char | 
| using | UBYTE = uchar | 
| using | UWORD = unsigned short | 
| using | MtlID = UWORD | 
| using | TimeValue = int | 
| using | SClass_ID = ulong | 
| Enumerations | |
| enum | IOResult : int { IO_OK = 0 , IO_END = 1 , IO_ERROR = 2 , IO_INTERRUPT = 3 } | 
| enum | ChunkType { NEW_CHUNK = 0 , CONTAINER_CHUNK = 1 , DATA_CHUNK = 2 } | 
| enum | FileIOType { IOTYPE_MAX = 0 , IOTYPE_MATLIB = 1 , IOTYPE_RENDER_PRESETS = 2 } | 
| Functions | |
| constexpr float | TicksToSec (TimeValue ticks) | 
| Converts from ticks to seconds. | |
| constexpr TimeValue | SecToTicks (double secs) | 
| Converts from seconds to ticks. | |
| constexpr TimeValue | TicksSecToTime (TimeValue ticks, double secs) | 
| Converts a number of seconds plus a number of ticks to a TimeValue. | |
| constexpr void | TimeToTicksSec (TimeValue time, TimeValue &ticks, TimeValue &secs) | 
| Converts a TimeValue to a number of seconds plus a number of ticks. | |
| #define TIME_TICKSPERSEC 4800 | 
Number of ticks in a second.
| #define TIME_PosInfinity TimeValue(0x7fffffff) | 
Returns a time value that represents positive infinity.
| #define TIME_NegInfinity TimeValue(0x80000000) | 
Returns a time value that represents negative infinity.
| using ulong = unsigned long | 
| using uchar = unsigned char | 
| using UWORD = unsigned short | 
| enum ChunkType | 
| Enumerator | |
|---|---|
| NEW_CHUNK | |
| CONTAINER_CHUNK | |
| DATA_CHUNK | |
| enum FileIOType | 
| Enumerator | |
|---|---|
| IOTYPE_MAX | File IO concerns a scene file (.max, .viz). | 
| IOTYPE_MATLIB | File IO concerns a material library file (.mat). | 
| IOTYPE_RENDER_PRESETS | File IO concerns a render preset file (.rps). | 
| 
 | constexpr | 
Converts from ticks to seconds.
| 
 | constexpr | 
Converts from seconds to ticks.
Converts a number of seconds plus a number of ticks to a TimeValue.
Converts a TimeValue to a number of seconds plus a number of ticks.