|
Blender V5.0
|
#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 | |
| } | |
| }; | |
Definition at line 44 of file overlay_private.hh.
|
default |
|
inline |
Constructor used by meta-ball overlays and expected to be used for drawing meta-ball edit circles with armature wire shader that produces wide-lines.
Definition at line 69 of file overlay_private.hh.
References mat44, pos, set_color(), and blender::math::transform_point().
|
inline |
Definition at line 82 of file overlay_private.hh.
References mat44, set_color(), and set_hint_color().
|
inline |
Definition at line 89 of file overlay_private.hh.
References mat44, and set_color().
|
inline |
Definition at line 94 of file overlay_private.hh.
References color_a, and color_b.
Referenced by BoneInstanceData(), BoneInstanceData(), BoneInstanceData(), drw_shgroup_bone_custom_empty(), drw_shgroup_bone_custom_mesh_wire(), drw_shgroup_bone_custom_solid_mesh(), and drw_shgroup_custom_bone_curve().
|
inline |
Definition at line 101 of file overlay_private.hh.
References color_hint_a, and color_hint_b.
Referenced by BoneInstanceData(), drw_shgroup_bone_custom_empty(), drw_shgroup_bone_custom_mesh_wire(), drw_shgroup_bone_custom_solid_mesh(), and drw_shgroup_custom_bone_curve().
| union { ... } blender::draw::overlay::BoneInstanceData |
| float blender::draw::overlay::BoneInstanceData::_pad0[3] |
Definition at line 50 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::_pad00[3] |
Definition at line 56 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::_pad01[3] |
Definition at line 57 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::_pad02[3] |
Definition at line 58 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::_pad03[3] |
Definition at line 59 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::_pad1[3] |
Definition at line 51 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::_pad2[3] |
Definition at line 52 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::_pad3[3] |
Definition at line 53 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::amax_a |
Definition at line 58 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::amax_b |
Definition at line 59 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::amin_a |
Definition at line 56 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::amin_b |
Definition at line 57 of file overlay_private.hh.
| float blender::draw::overlay::BoneInstanceData::color_a |
Definition at line 52 of file overlay_private.hh.
Referenced by set_color().
| float blender::draw::overlay::BoneInstanceData::color_b |
Definition at line 53 of file overlay_private.hh.
Referenced by set_color().
| float blender::draw::overlay::BoneInstanceData::color_hint_a |
Definition at line 50 of file overlay_private.hh.
Referenced by set_hint_color().
| float blender::draw::overlay::BoneInstanceData::color_hint_b |
Definition at line 51 of file overlay_private.hh.
Referenced by set_hint_color().
| float blender::draw::overlay::BoneInstanceData::mat[4][4] |
Definition at line 48 of file overlay_private.hh.
Referenced by drw_shgroup_bone_envelope().
| float4x4 blender::draw::overlay::BoneInstanceData::mat44 |
Definition at line 47 of file overlay_private.hh.
Referenced by BoneInstanceData(), BoneInstanceData(), BoneInstanceData(), draw_bone_degrees_of_freedom(), drw_shgroup_bone_custom_empty(), drw_shgroup_bone_custom_mesh_wire(), drw_shgroup_bone_custom_solid_mesh(), drw_shgroup_bone_envelope(), and drw_shgroup_custom_bone_curve().