3ds Max C++ API Reference
|
This class allows access to the sub-object hit records used in Mesh hit testing. More...
#include <mesh.h>
Classes | |
struct | Iterator |
Public Member Functions | |
MeshSubHitRec (DWORD dist, int index) | |
Constructor. More... | |
MeshSubHitRec () | |
Public Attributes | |
DWORD | dist |
The distance of the hit. More... | |
int | index |
The index of the sub-object component. More... | |
int | index2 |
The second level index of the sub-object component. More... | |
This class allows access to the sub-object hit records used in Mesh hit testing.
All methods of this class are implemented by the system. SubObjHitList use Tab instead of linked-list in Max 2017 for performance of large amount of data. The constructor's change is to keep code compatibility. Although internal storage changed, client code only needs recompile without any modification.
|
inline |
Constructor.
The data members are initialized to the data members passed.
dist | distance of the hit point |
index | the sub object's index |
|
inline |
DWORD dist |
The distance of the hit.
An implementation defined value that is lower for hits that are closer.
int index |