SnapStruct Struct Reference Snapping

#include <c4d_snapdata.h>

详细描述

Structure containing relevant context information for the snap system.

公共成员函数

  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()

SnapStruct ( )

Default constructor.

◆  ~SnapStruct()

~ SnapStruct ( )

Destructor.

Member Data Documentation

◆  doc

BaseDocument * 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

BaseThread * 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.