Blender V4.3
ArmatureBoneDrawStrategyCustomShape Class Reference

Inherits ArmatureBoneDrawStrategy.

Public Member Functions

void update_display_matrix (UnifiedBonePtr bone) const override
 
bool culling_test (const DRWView *view, const Object *ob, const bPoseChannel *pchan) const override
 
void draw_context_setup (Armatures::DrawContext *, const OVERLAY_ArmatureCallBuffersInner *, const bool, const bool) const override
 
void draw_bone (const Armatures::DrawContext *ctx, const UnifiedBonePtr bone, const eBone_Flag boneflag, const int select_id) const override
 
- Public Member Functions inherited from ArmatureBoneDrawStrategy
virtual bool should_draw_relation_to_parent (const UnifiedBonePtr bone, const eBone_Flag boneflag) const
 

Detailed Description

Bone drawing strategy for custom bone shapes.

Definition at line 2269 of file overlay_armature.cc.

Member Function Documentation

◆ culling_test()

bool ArmatureBoneDrawStrategyCustomShape::culling_test ( const DRWView * view,
const Object * ob,
const bPoseChannel * pchan ) const
inlineoverridevirtual

Culling test.

Returns
true when a part of this bPoseChannel is visible in the viewport.

Implements ArmatureBoneDrawStrategy.

Definition at line 2303 of file overlay_armature.cc.

References pchan_culling_test_simple().

◆ draw_bone()

◆ draw_context_setup()

void ArmatureBoneDrawStrategyCustomShape::draw_context_setup ( Armatures::DrawContext * ,
const OVERLAY_ArmatureCallBuffersInner * ,
const bool ,
const bool  ) const
inlineoverridevirtual

Implements ArmatureBoneDrawStrategy.

Definition at line 2311 of file overlay_armature.cc.

◆ update_display_matrix()


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