Blender  V2.93
Public Types | Public Attributes | List of all members
SnapObjectData Struct Reference

Public Types

enum  { SNAP_MESH = 1 , SNAP_EDIT_MESH }
 

Public Attributes

enum SnapObjectData:: { ... }  type
 
BVHTreebvhtree [2]
 
bool cached [2]
 
union {
   struct {
      BVHTreeFromMesh   treedata_mesh
 
      const struct MPoly *   poly
 
      uint   has_looptris: 1
 
      uint   has_loose_edge: 1
 
      uint   has_loose_vert: 1
 
   } 
 
   struct {
      BVHTreeFromEditMesh   treedata_editmesh
 
      float   min [3]
 
      float   max [3]
 
      struct Mesh_Runtime *   mesh_runtime
 
   } 
 
}; 
 

Detailed Description

Definition at line 82 of file transform_snap_object.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SNAP_MESH 
SNAP_EDIT_MESH 

Definition at line 83 of file transform_snap_object.c.

Member Data Documentation

◆ 

union { ... }

◆ bvhtree

BVHTree* SnapObjectData::bvhtree[2]

◆ cached

bool SnapObjectData::cached[2]

◆ has_looptris

uint SnapObjectData::has_looptris

Definition at line 97 of file transform_snap_object.c.

Referenced by snap_object_data_mesh_get(), and snapMesh().

◆ has_loose_edge

uint SnapObjectData::has_loose_edge

Definition at line 98 of file transform_snap_object.c.

Referenced by snap_object_data_mesh_get(), and snapMesh().

◆ has_loose_vert

uint SnapObjectData::has_loose_vert

Definition at line 99 of file transform_snap_object.c.

Referenced by snap_object_data_mesh_get(), and snapMesh().

◆ max

float SnapObjectData::max[3]

◆ mesh_runtime

struct Mesh_Runtime* SnapObjectData::mesh_runtime

◆ min

float SnapObjectData::min[3]

◆ poly

const struct MPoly* SnapObjectData::poly

Definition at line 96 of file transform_snap_object.c.

Referenced by raycastMesh(), and snap_mesh_polygon().

◆ treedata_editmesh

BVHTreeFromEditMesh SnapObjectData::treedata_editmesh

◆ treedata_mesh

BVHTreeFromMesh SnapObjectData::treedata_mesh

◆ 

enum { ... } SnapObjectData::type

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