#include <c4d_snapdata.h>
Structure containing relevant context information for the snap system.
Public Member Functions | |
| SnapStruct () | |
| ~SnapStruct () | |
Public Attributes | |
| BaseDocument * | doc |
| BaseDraw * | bd |
| Float | snap_radius |
| AtomArray * | excluded_objects |
| AtomArray * | object_list |
| BaseThread * | bt |
| SNAPFLAGS | flags |
| Int32 | projection |
| maxon::BaseArray< SnapExclude > * | snapExcludeList |
| SnapStruct | ( | ) |
Default constructor.
| ~SnapStruct | ( | ) |
Destructor.
| BaseDocument* doc |
The current document.
| Float snap_radius |
The radius to snap within.
| AtomArray* excluded_objects |
A list of objects to exclude.
| AtomArray* object_list |
A list of objects in view.
| BaseThread* bt |
The current BaseThread.
| SNAPFLAGS flags |
Flags sent by user calling snap function.
| Int32 projection |
Cached bd->GetProjection() but faster.
| maxon::BaseArray<SnapExclude>* snapExcludeList |
A pointer to a list of element to exclude per object.