SnapStruct Struct Reference

#include <c4d_snapdata.h>

Detailed Description

Structure containing relevant context information for the snap system.

Public Member Functions

 SnapStruct ()
 
 ~SnapStruct ()
 

Public Attributes

BaseDocumentdoc
 
BaseDrawbd
 
Float snap_radius
 
AtomArrayexcluded_objects
 
AtomArrayobject_list
 
BaseThreadbt
 
SNAPFLAGS flags
 
Int32 projection
 
maxon::BaseArray< SnapExclude > * snapExcludeList
 

Constructor & Destructor Documentation

◆ SnapStruct()

Default constructor.

◆ ~SnapStruct()

~SnapStruct ( )

Destructor.

Member Data Documentation

◆ doc

The current document.

◆ bd

BaseDraw* bd

The active BaseDraw that snapping will be taking place in.

◆ snap_radius

Float snap_radius

The radius to snap within.

◆ excluded_objects

AtomArray* excluded_objects

A list of objects to exclude.

◆ object_list

AtomArray* object_list

A list of objects in view.

◆ bt

The current BaseThread.

◆ flags

SNAPFLAGS flags

Flags sent by user calling snap function.

◆ projection

Int32 projection

Cached bd->GetProjection() but faster.

◆ snapExcludeList

maxon::BaseArray<SnapExclude>* snapExcludeList

A pointer to a list of element to exclude per object.