Blender V5.3
overlay::armature::envelope::outline Namespace Reference

Classes

struct  Resources
struct  VertIn
struct  Bone

Functions

bool bone_blend_starts (float3 p, Bone b)
float3 get_outline_point (float2 pos, float4 sph_near, float4 sph_far, float3x3 mat_near, float3x3 mat_far, float z_ofs_near, float z_ofs_far, Bone b)
void vert (const Resources &srt, const Armature &armature, const Uniform &uni, const Clipping &clip, const draw::View &views, const draw::Select &sel, draw::SelectOut &sel_out, const int inst_index, float(&clip_distances)[6], const VertIn &v_in, VertOut &v_out, float4 &out_pos)

Function Documentation

◆ bone_blend_starts()

bool overlay::armature::envelope::outline::bone_blend_starts ( float3 p,
Bone b )

Definition at line 166 of file overlay_armature.bsl.hh.

References b, bone_blend_starts(), and dot().

Referenced by bone_blend_starts(), and get_outline_point().

◆ get_outline_point()

float3 overlay::armature::envelope::outline::get_outline_point ( float2 pos,
float4 sph_near,
float4 sph_far,
float3x3 mat_near,
float3x3 mat_far,
float z_ofs_near,
float z_ofs_far,
Bone b )

Definition at line 172 of file overlay_armature.bsl.hh.

References b, bone_blend_starts(), get_outline_point(), and float4::w.

Referenced by get_outline_point(), and vert().

◆ vert()

void overlay::armature::envelope::outline::vert ( const Resources & srt,
const Armature & armature,
const Uniform & uni,
const Clipping & clip,
const draw::View & views,
const draw::Select & sel,
draw::SelectOut & sel_out,
const int inst_index,
float(&) clip_distances[6],
const VertIn & v_in,
VertOut & v_out,
float4 & out_pos )