Blender V4.3
blender::bke::greasepencil::convert::AnimDataFCurveConvertor Struct Reference

Public Member Functions

 AnimDataFCurveConvertor (const char *relative_rna_path_src, const char *relative_rna_path_dst, blender::FunctionRef< FCurveConvertCB > convert_cb={nullptr})
 

Public Attributes

const char * relative_rna_path_src
 
const char * relative_rna_path_dst
 
blender::FunctionRef< FCurveConvertCBconvert_cb
 

Detailed Description

Conversion data for the FCurve of a specific RNA property.

Used as sub-data of #AnimDataConvertor when precise control over which and how FCurves are converted.

Definition at line 100 of file grease_pencil_convert_legacy.cc.

Constructor & Destructor Documentation

◆ AnimDataFCurveConvertor()

blender::bke::greasepencil::convert::AnimDataFCurveConvertor::AnimDataFCurveConvertor ( const char * relative_rna_path_src,
const char * relative_rna_path_dst,
blender::FunctionRef< FCurveConvertCB > convert_cb = {nullptr} )
inline

Definition at line 109 of file grease_pencil_convert_legacy.cc.

Member Data Documentation

◆ convert_cb

blender::FunctionRef<FCurveConvertCB> blender::bke::greasepencil::convert::AnimDataFCurveConvertor::convert_cb

Optional callback to perform additional conversion work on a specific FCurve.

Definition at line 107 of file grease_pencil_convert_legacy.cc.

Referenced by blender::bke::greasepencil::convert::AnimDataConvertor::fcurves_convert().

◆ relative_rna_path_dst

const char* blender::bke::greasepencil::convert::AnimDataFCurveConvertor::relative_rna_path_dst

◆ relative_rna_path_src

const char* blender::bke::greasepencil::convert::AnimDataFCurveConvertor::relative_rna_path_src

Source and destination RNA paths (relative to the relevant root paths stored in the owner #AnimDataConvertor data).

Definition at line 103 of file grease_pencil_convert_legacy.cc.

Referenced by blender::bke::greasepencil::convert::AnimDataConvertor::fcurves_convert().


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