Blender V5.3
blender::animrig::CombinedKeyingResult Class Reference

#include <ANIM_keyframing.hh>

Public Member Functions

 CombinedKeyingResult ()
void add (SingleKeyingResult result, int count=1)
void merge (const CombinedKeyingResult &other)
int get_count (const SingleKeyingResult result) const
bool has_errors () const
void generate_reports (ReportList *reports, eReportType report_level=RPT_ERROR)

Detailed Description

Class for tracking the result of inserting keyframes. Tracks how often each of SingleKeyingResult has happened.

Definition at line 75 of file ANIM_keyframing.hh.

Constructor & Destructor Documentation

◆ CombinedKeyingResult()

blender::animrig::CombinedKeyingResult::CombinedKeyingResult ( )

Definition at line 97 of file animrig/intern/keyframing.cc.

Referenced by merge().

Member Function Documentation

◆ add()

void blender::animrig::CombinedKeyingResult::add ( SingleKeyingResult result,
int count = 1 )

Increase the count of the given SingleKeyingResult by count.

Definition at line 102 of file animrig/intern/keyframing.cc.

References blender::result.

Referenced by blender::animrig::insert_key_layered_action(), and blender::animrig::insert_keyframes().

◆ generate_reports()

◆ get_count()

◆ has_errors()

bool blender::animrig::CombinedKeyingResult::has_errors ( ) const

Definition at line 119 of file animrig/intern/keyframing.cc.

References blender::animrig::SUCCESS.

Referenced by generate_reports().

◆ merge()

void blender::animrig::CombinedKeyingResult::merge ( const CombinedKeyingResult & other)

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