Blender V5.3
blender::draw::View::OffsetData Struct Reference

#include <draw_view.hh>

Public Member Functions

 OffsetData ()=default
 OffsetData (const RegionView3D &rv3d)
float4x4 winmat_polygon_offset (const float4x4 &winmat, float offset)
float polygon_offset_factor (const float4x4 &winmat)

Public Attributes

float dist = 0.0f
char persp = 0
bool is_persp = false

Detailed Description

Definition at line 194 of file draw_view.hh.

Constructor & Destructor Documentation

◆ OffsetData() [1/2]

blender::draw::View::OffsetData::OffsetData ( )
default

◆ OffsetData() [2/2]

blender::draw::View::OffsetData::OffsetData ( const RegionView3D & rv3d)
inline

Definition at line 203 of file draw_view.hh.

References dist, is_persp, and persp.

Member Function Documentation

◆ polygon_offset_factor()

◆ winmat_polygon_offset()

Member Data Documentation

◆ dist

float blender::draw::View::OffsetData::dist = 0.0f

Definition at line 196 of file draw_view.hh.

Referenced by OffsetData(), polygon_offset_factor(), and winmat_polygon_offset().

◆ is_persp

bool blender::draw::View::OffsetData::is_persp = false

Definition at line 200 of file draw_view.hh.

Referenced by OffsetData(), polygon_offset_factor(), and winmat_polygon_offset().

◆ persp

char blender::draw::View::OffsetData::persp = 0

Definition at line 198 of file draw_view.hh.

Referenced by OffsetData(), polygon_offset_factor(), and winmat_polygon_offset().


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