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

#include <overlay_next_camera.hh>

Inherits ExtraInstanceData.

Public Member Functions

 CameraInstanceData (const CameraInstanceData &data)
 
 CameraInstanceData (const float4x4 &p_matrix, const float4 &color)
 

Public Attributes

floatvolume_start = color_[2]
 
floatvolume_end = color_[3]
 
floatdepth = color_[3]
 
floatfocus = color_[3]
 
float4x4matrix = object_to_world_
 
floatdist_color_id = matrix[0][3]
 
floatcorner_x = matrix[0][3]
 
floatcorner_y = matrix[1][3]
 
floatcenter_x = matrix[2][3]
 
floatclip_start = matrix[2][3]
 
floatmist_start = matrix[2][3]
 
floatcenter_y = matrix[3][3]
 
floatclip_end = matrix[3][3]
 
floatmist_end = matrix[3][3]
 
- Public Attributes inherited from ExtraInstanceData
float4 color_
 
float4x4 object_to_world_
 

Detailed Description

Definition at line 45 of file overlay_next_camera.hh.

Constructor & Destructor Documentation

◆ CameraInstanceData() [1/2]

blender::draw::overlay::CameraInstanceData::CameraInstanceData ( const CameraInstanceData & data)
inline

Definition at line 62 of file overlay_next_camera.hh.

◆ CameraInstanceData() [2/2]

blender::draw::overlay::CameraInstanceData::CameraInstanceData ( const float4x4 & p_matrix,
const float4 & color )
inline

Definition at line 67 of file overlay_next_camera.hh.

Member Data Documentation

◆ center_x

float& blender::draw::overlay::CameraInstanceData::center_x = matrix[2][3]

Definition at line 55 of file overlay_next_camera.hh.

◆ center_y

float& blender::draw::overlay::CameraInstanceData::center_y = matrix[3][3]

Definition at line 58 of file overlay_next_camera.hh.

◆ clip_end

float& blender::draw::overlay::CameraInstanceData::clip_end = matrix[3][3]

Definition at line 59 of file overlay_next_camera.hh.

◆ clip_start

float& blender::draw::overlay::CameraInstanceData::clip_start = matrix[2][3]

Definition at line 56 of file overlay_next_camera.hh.

◆ corner_x

float& blender::draw::overlay::CameraInstanceData::corner_x = matrix[0][3]

Definition at line 53 of file overlay_next_camera.hh.

◆ corner_y

float& blender::draw::overlay::CameraInstanceData::corner_y = matrix[1][3]

Definition at line 54 of file overlay_next_camera.hh.

◆ depth

float& blender::draw::overlay::CameraInstanceData::depth = color_[3]

Definition at line 49 of file overlay_next_camera.hh.

◆ dist_color_id

float& blender::draw::overlay::CameraInstanceData::dist_color_id = matrix[0][3]

Definition at line 52 of file overlay_next_camera.hh.

◆ focus

float& blender::draw::overlay::CameraInstanceData::focus = color_[3]

Definition at line 50 of file overlay_next_camera.hh.

◆ matrix

float4x4& blender::draw::overlay::CameraInstanceData::matrix = object_to_world_

Definition at line 51 of file overlay_next_camera.hh.

◆ mist_end

float& blender::draw::overlay::CameraInstanceData::mist_end = matrix[3][3]

Definition at line 60 of file overlay_next_camera.hh.

◆ mist_start

float& blender::draw::overlay::CameraInstanceData::mist_start = matrix[2][3]

Definition at line 57 of file overlay_next_camera.hh.

◆ volume_end

float& blender::draw::overlay::CameraInstanceData::volume_end = color_[3]

Definition at line 48 of file overlay_next_camera.hh.

◆ volume_start

float& blender::draw::overlay::CameraInstanceData::volume_start = color_[2]

Definition at line 47 of file overlay_next_camera.hh.


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