Blender V4.3
BoneInstanceData Struct Reference

#include <overlay_private.hh>

Public Member Functions

 BoneInstanceData ()=default
 
 BoneInstanceData (const float4x4 &ob_mat, const float3 &pos, const float radius, const float color[4])
 
 BoneInstanceData (const float4x4 &bone_mat, const float4 &bone_color, const float4 &hint_color)
 
 BoneInstanceData (const float4x4 &bone_mat, const float4 &bone_color)
 
void set_color (const float4 &bone_color)
 
void set_hint_color (const float4 &hint_color)
 

Public Attributes

union { 
 
   float4x4   mat44 
 
   float   mat [4][4] 
 
   struct { 
 
      float   _pad0 [3] 
 
      float   color_hint_a 
 
      float   _pad1 [3] 
 
      float   color_hint_b 
 
      float   _pad2 [3] 
 
      float   color_a 
 
      float   _pad3 [3] 
 
      float   color_b 
 
   }  
 
   struct { 
 
      float   _pad00 [3] 
 
      float   amin_a 
 
      float   _pad01 [3] 
 
      float   amin_b 
 
      float   _pad02 [3] 
 
      float   amax_a 
 
      float   _pad03 [3] 
 
      float   amax_b 
 
   }  
 
};  
 

Detailed Description

Definition at line 466 of file overlay_private.hh.

Constructor & Destructor Documentation

◆ BoneInstanceData() [1/4]

BoneInstanceData::BoneInstanceData ( )
default

◆ BoneInstanceData() [2/4]

BoneInstanceData::BoneInstanceData ( const float4x4 & ob_mat,
const float3 & pos,
const float radius,
const float color[4] )
inline

Definition at line 489 of file overlay_private.hh.

References mat44, pos, set_color(), and blender::math::transform_point().

◆ BoneInstanceData() [3/4]

BoneInstanceData::BoneInstanceData ( const float4x4 & bone_mat,
const float4 & bone_color,
const float4 & hint_color )
inline

Definition at line 502 of file overlay_private.hh.

References set_color(), and set_hint_color().

◆ BoneInstanceData() [4/4]

BoneInstanceData::BoneInstanceData ( const float4x4 & bone_mat,
const float4 & bone_color )
inline

Definition at line 509 of file overlay_private.hh.

References set_color().

Member Function Documentation

◆ set_color()

void BoneInstanceData::set_color ( const float4 & bone_color)
inline

◆ set_hint_color()

void BoneInstanceData::set_hint_color ( const float4 & hint_color)
inline

Member Data Documentation

◆ [union]

union { ... } BoneInstanceData

◆ _pad0

float BoneInstanceData::_pad0[3]

Definition at line 472 of file overlay_private.hh.

◆ _pad00

float BoneInstanceData::_pad00[3]

Definition at line 478 of file overlay_private.hh.

◆ _pad01

float BoneInstanceData::_pad01[3]

Definition at line 479 of file overlay_private.hh.

◆ _pad02

float BoneInstanceData::_pad02[3]

Definition at line 480 of file overlay_private.hh.

◆ _pad03

float BoneInstanceData::_pad03[3]

Definition at line 481 of file overlay_private.hh.

◆ _pad1

float BoneInstanceData::_pad1[3]

Definition at line 473 of file overlay_private.hh.

◆ _pad2

float BoneInstanceData::_pad2[3]

Definition at line 474 of file overlay_private.hh.

◆ _pad3

float BoneInstanceData::_pad3[3]

Definition at line 475 of file overlay_private.hh.

◆ amax_a

float BoneInstanceData::amax_a

Definition at line 480 of file overlay_private.hh.

◆ amax_b

float BoneInstanceData::amax_b

Definition at line 481 of file overlay_private.hh.

◆ amin_a

float BoneInstanceData::amin_a

Definition at line 478 of file overlay_private.hh.

◆ amin_b

float BoneInstanceData::amin_b

Definition at line 479 of file overlay_private.hh.

◆ color_a

float BoneInstanceData::color_a

Definition at line 474 of file overlay_private.hh.

Referenced by set_color().

◆ color_b

float BoneInstanceData::color_b

Definition at line 475 of file overlay_private.hh.

Referenced by set_color().

◆ color_hint_a

float BoneInstanceData::color_hint_a

Definition at line 472 of file overlay_private.hh.

Referenced by set_hint_color().

◆ color_hint_b

float BoneInstanceData::color_hint_b

Definition at line 473 of file overlay_private.hh.

Referenced by set_hint_color().

◆ mat

◆ mat44


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