Blender V4.3
blender::draw::overlay::State Struct Reference

#include <overlay_next_private.hh>

Public Member Functions

float view_dist_get (const float4x4 &winmat) const

Public Attributes

Depsgraph * depsgraph
const ViewLayerview_layer
const Scenescene
const View3Dv3d
const SpaceLinkspace_data
const ARegionregion
const RegionView3Drv3d
const Baseactive_base
DRWTextStoredt
View3DOverlay overlay
float pixelsize
eSpace_Type space_type
eContextObjectMode ctx_mode
eObjectMode object_mode
const Objectobject_active
bool clear_in_front
bool use_in_front
bool is_wireframe_mode
bool hide_overlays
bool xray_enabled
bool xray_enabled_and_not_wire
bool do_pose_xray
bool do_pose_fade_geom
float xray_opacity
short v3d_flag
short v3d_gridflag
int cfra
float3 camera_position
float3 camera_forward
int clipping_plane_count
int2 image_size
float2 image_uv_aspect
float2 image_aspect

Detailed Description

Definition at line 42 of file overlay_next_private.hh.

Member Function Documentation

◆ view_dist_get()

float blender::draw::overlay::State::view_dist_get ( const float4x4 & winmat) const
inline

Definition at line 81 of file overlay_next_private.hh.

References fabsf, max_ff(), rv3d, and RV3D_CAMOB.

Member Data Documentation

◆ active_base

const Base* blender::draw::overlay::State::active_base

Definition at line 50 of file overlay_next_private.hh.

◆ camera_forward

float3 blender::draw::overlay::State::camera_forward

Definition at line 73 of file overlay_next_private.hh.

◆ camera_position

float3 blender::draw::overlay::State::camera_position

Definition at line 72 of file overlay_next_private.hh.

◆ cfra

int blender::draw::overlay::State::cfra

Definition at line 71 of file overlay_next_private.hh.

◆ clear_in_front

bool blender::draw::overlay::State::clear_in_front

Definition at line 58 of file overlay_next_private.hh.

◆ clipping_plane_count

int blender::draw::overlay::State::clipping_plane_count

Definition at line 74 of file overlay_next_private.hh.

◆ ctx_mode

eContextObjectMode blender::draw::overlay::State::ctx_mode

Definition at line 55 of file overlay_next_private.hh.

◆ depsgraph

Depsgraph* blender::draw::overlay::State::depsgraph

Definition at line 43 of file overlay_next_private.hh.

◆ do_pose_fade_geom

bool blender::draw::overlay::State::do_pose_fade_geom

Definition at line 67 of file overlay_next_private.hh.

◆ do_pose_xray

bool blender::draw::overlay::State::do_pose_xray

Definition at line 65 of file overlay_next_private.hh.

◆ dt

DRWTextStore* blender::draw::overlay::State::dt

Definition at line 51 of file overlay_next_private.hh.

◆ hide_overlays

bool blender::draw::overlay::State::hide_overlays

Definition at line 61 of file overlay_next_private.hh.

◆ image_aspect

float2 blender::draw::overlay::State::image_aspect

Definition at line 79 of file overlay_next_private.hh.

◆ image_size

int2 blender::draw::overlay::State::image_size

Definition at line 77 of file overlay_next_private.hh.

◆ image_uv_aspect

float2 blender::draw::overlay::State::image_uv_aspect

Definition at line 78 of file overlay_next_private.hh.

◆ is_wireframe_mode

bool blender::draw::overlay::State::is_wireframe_mode

Definition at line 60 of file overlay_next_private.hh.

◆ object_active

const Object* blender::draw::overlay::State::object_active

Definition at line 57 of file overlay_next_private.hh.

◆ object_mode

eObjectMode blender::draw::overlay::State::object_mode

Definition at line 56 of file overlay_next_private.hh.

◆ overlay

View3DOverlay blender::draw::overlay::State::overlay

Definition at line 52 of file overlay_next_private.hh.

◆ pixelsize

float blender::draw::overlay::State::pixelsize

Definition at line 53 of file overlay_next_private.hh.

◆ region

const ARegion* blender::draw::overlay::State::region

Definition at line 48 of file overlay_next_private.hh.

◆ rv3d

const RegionView3D* blender::draw::overlay::State::rv3d

Definition at line 49 of file overlay_next_private.hh.

Referenced by view_dist_get().

◆ scene

const Scene* blender::draw::overlay::State::scene

Definition at line 45 of file overlay_next_private.hh.

◆ space_data

const SpaceLink* blender::draw::overlay::State::space_data

Definition at line 47 of file overlay_next_private.hh.

◆ space_type

eSpace_Type blender::draw::overlay::State::space_type

Definition at line 54 of file overlay_next_private.hh.

◆ use_in_front

bool blender::draw::overlay::State::use_in_front

Definition at line 59 of file overlay_next_private.hh.

◆ v3d

const View3D* blender::draw::overlay::State::v3d

Definition at line 46 of file overlay_next_private.hh.

◆ v3d_flag

short blender::draw::overlay::State::v3d_flag

Definition at line 69 of file overlay_next_private.hh.

◆ v3d_gridflag

short blender::draw::overlay::State::v3d_gridflag

Definition at line 70 of file overlay_next_private.hh.

◆ view_layer

const ViewLayer* blender::draw::overlay::State::view_layer

Definition at line 44 of file overlay_next_private.hh.

◆ xray_enabled

bool blender::draw::overlay::State::xray_enabled

Definition at line 62 of file overlay_next_private.hh.

◆ xray_enabled_and_not_wire

bool blender::draw::overlay::State::xray_enabled_and_not_wire

Definition at line 63 of file overlay_next_private.hh.

◆ xray_opacity

float blender::draw::overlay::State::xray_opacity

Definition at line 68 of file overlay_next_private.hh.


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