Blender V4.3
TransSnap Struct Reference

#include <transform.hh>

Public Attributes

eSnapFlag flag
 
eSnapMode mode
 
eSnapSourceOP source_operation
 
eSnapTargetOP target_operation
 
short face_nearest_steps
 
eTSnap status
 
eSnapMode source_type
 
eSnapMode target_type
 
eSnapDir direction
 
float snap_source [3]
 
float snap_target [3]
 
float snapNormal [3]
 
char snapNodeBorder
 
ListBase points
 
TransSnapPointselectedPoint
 
double last
 
void(* snap_target_fn )(TransInfo *, float *)
 
void(* snap_source_fn )(TransInfo *)
 
union { 
 
   SnapObjectContext *   object_context 
 
   TransSeqSnapData *   seq_context 
 
};  
 

Detailed Description

Definition at line 308 of file transform.hh.

Member Data Documentation

◆ [union]

union { ... } TransSnap

Re-usable snap context data.

◆ direction

◆ face_nearest_steps

short TransSnap::face_nearest_steps

Definition at line 317 of file transform.hh.

Referenced by applyFaceNearest(), and initSnapping().

◆ flag

◆ last

double TransSnap::last

Definition at line 332 of file transform.hh.

Referenced by resetSnapping(), and transform_snap_mixed_apply().

◆ mode

◆ object_context

◆ points

◆ selectedPoint

◆ seq_context

◆ snap_source

◆ snap_source_fn

void(* TransSnap::snap_source_fn) (TransInfo *)

◆ snap_target

◆ snap_target_fn

void(* TransSnap::snap_target_fn) (TransInfo *, float *)

◆ snapNodeBorder

char TransSnap::snapNodeBorder

◆ snapNormal

◆ source_operation

eSnapSourceOP TransSnap::source_operation

◆ source_type

◆ status

◆ target_operation

◆ target_type


The documentation for this struct was generated from the following file: