Blender V4.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 68 of file ANIM_keyframing.hh.

Constructor & Destructor Documentation

◆ CombinedKeyingResult()

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

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

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 57 of file animrig/intern/keyframing.cc.

References count, and int.

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

◆ generate_reports()

◆ get_count()

◆ has_errors()

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

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

References int, and blender::animrig::SUCCESS.

Referenced by generate_reports().

◆ merge()


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