Blender V5.3
blender::draw::overlay::BoneInstanceData Struct Reference

#include <overlay_private.hh>

Classes

union  [union].__unnamed0__

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  

Detailed Description

Definition at line 47 of file overlay_private.hh.

Constructor & Destructor Documentation

◆ BoneInstanceData() [1/4]

blender::draw::overlay::BoneInstanceData::BoneInstanceData ( )
default

◆ BoneInstanceData() [2/4]

blender::draw::overlay::BoneInstanceData::BoneInstanceData ( const float4x4 & ob_mat,
const float3 & pos,
const float radius,
const float color[4] )
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 72 of file overlay_private.hh.

References blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::float4x4, set_color(), and blender::math::transform_point().

◆ BoneInstanceData() [3/4]

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

◆ BoneInstanceData() [4/4]

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

Member Function Documentation

◆ set_color()

◆ set_hint_color()

Member Data Documentation

◆ @156003200376154071321044053041223124333333270112


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