|
Blender V5.3
|
#include <DNA_gpencil_legacy_types.h>
Public Attributes | |
| ID | id |
| struct AnimData * | adt = nullptr |
| ListBaseT< bGPDlayer > | layers = {nullptr, nullptr} |
| eGPdata_Flag | flag = {} |
| int | curve_edit_resolution = 0 |
| float | curve_edit_threshold = 0 |
| float | curve_edit_corner_angle = 0 |
| ListBaseT< bGPDpalette > | palettes = {nullptr, nullptr} |
| ListBaseT< bDeformGroup > | vertex_group_names = {nullptr, nullptr} |
| float | pixfactor = 0 |
| float | line_color [4] = {} |
| float | onion_factor = 0 |
| eGP_OnionModes | onion_mode = GP_ONION_MODE_ABSOLUTE |
| eGPD_OnionFlag | onion_flag = {} |
| short | gstep = 0 |
| short | gstep_next = 0 |
| float | gcolor_prev [3] = {} |
| float | gcolor_next [3] = {} |
| float | zdepth_offset = 0 |
| struct Material ** | mat = nullptr |
| short | totcol = 0 |
| short | totlayer = 0 |
| short | totframe = 0 |
| char | _pad2 [6] = {} |
| int | totstroke = 0 |
| int | totpoint = 0 |
| eGP_DrawMode | draw_mode = GP_DRAWMODE_2D |
| short | onion_keytype = 0 |
| int | select_last_index = 0 |
| int | vertex_group_active_index = 0 |
| bGPgrid | grid |
| bGPdata_Runtime | runtime |
Grease-Pencil Annotations - 'DataBlock'.
Definition at line 722 of file DNA_gpencil_legacy_types.h.
| char blender::bGPdata::_pad2[6] = {} |
Definition at line 792 of file DNA_gpencil_legacy_types.h.
Animation data - for animating draw settings.
Definition at line 732 of file DNA_gpencil_legacy_types.h.
Referenced by blender::acf_dsgpencil_setting_ptr(), and blender::make_new_animlistelem().
| float blender::bGPdata::curve_edit_corner_angle = 0 |
Curve Editing corner angle (less or equal is treated as corner).
Definition at line 744 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::blo_do_versions_290().
| int blender::bGPdata::curve_edit_resolution = 0 |
Default resolution for generated curves using curve editing method.
Definition at line 740 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::blo_do_versions_290().
| float blender::bGPdata::curve_edit_threshold = 0 |
Curve Editing error threshold.
Definition at line 742 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::blo_do_versions_290().
| eGP_DrawMode blender::bGPdata::draw_mode = GP_DRAWMODE_2D |
Draw mode for strokes.
Definition at line 797 of file DNA_gpencil_legacy_types.h.
Referenced by blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| eGPdata_Flag blender::bGPdata::flag = {} |
Settings for this data-block.
Definition at line 738 of file DNA_gpencil_legacy_types.h.
Referenced by blender::acf_dsgpencil_setting_ptr(), blender::ANIM_channel_draw_widgets(), blender::animchannels_delete_exec(), blender::annotation_paint_initstroke(), blender::annotation_session_initdata(), blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_data_addnew(), blender::BKE_annotations_layer_active_set(), blender::BKE_annotations_layer_addnew(), blender::blo_do_versions_270(), blender::blo_do_versions_280(), blender::blo_do_versions_290(), blender::BLO_update_defaults_startup_blend(), blender::do_versions_after_linking_280(), blender::gpencil_data_add_exec(), blender::gpencil_data_unlink_poll(), blender::bke::greasepencil::convert::legacy_gpencil_sanitize_annotations(), blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil(), blender::bke::greasepencil::convert::legacy_main(), blender::loose_data_instantiate_obdata_preprocess(), and blender::rearrange_gpencil_channels().
| float blender::bGPdata::gcolor_next[3] = {} |
Optional color for ghosts after the active frame.
Definition at line 780 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), blender::blo_do_versions_280(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| float blender::bGPdata::gcolor_prev[3] = {} |
Optional color for ghosts before the active frame.
Definition at line 778 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), blender::blo_do_versions_280(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| bGPgrid blender::bGPdata::grid |
Definition at line 806 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::blo_do_versions_280().
| short blender::bGPdata::gstep = 0 |
Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).
Definition at line 770 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| short blender::bGPdata::gstep_next = 0 |
Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).
Definition at line 775 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| ID blender::bGPdata::id |
Grease Pencil data is a data-block.
Definition at line 730 of file DNA_gpencil_legacy_types.h.
Referenced by blender::achannel_setting_flush_widget_cb(), blender::animdata_filter_ds_gpencil(), blender::annotation_paint_initstroke(), blender::annotation_paint_strokeend(), blender::BKE_annotations_data_duplicate(), blender::BKE_annotations_tag(), blender::deg::DepsgraphRelationBuilder::build_object_data_geometry_datablock(), blender::click_select_channel_gplayer(), blender::ed::object::data_xform_tag_update(), blender::edbm_fit_edge_loops_to_annotation_exec(), blender::gpencil_actframe_delete_exec(), blender::gpencil_data_add_exec(), blender::gpencil_data_unlink_exec(), blender::gpencil_layer_add_exec(), blender::gpencil_layer_move_exec(), blender::gpencil_layer_remove_exec(), blender::greasepencil_blend_write(), blender::bke::greasepencil::convert::layer_adjustments_to_modifiers(), blender::bke::greasepencil::convert::legacy_gpencil_object(), blender::bke::greasepencil::convert::legacy_gpencil_sanitize_annotations(), blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil(), blender::bke::greasepencil::convert::legacy_main(), blender::ed::outliner::namebutton_fn(), blender::ed::transform::posttrans_gpd_clean(), blender::rearrange_gpencil_channels(), blender::screen_ctx_active_annotation_layer(), blender::screen_ctx_annotation_data(), blender::bke::greasepencil::convert::thickness_factor_to_modifier(), blender::tracking_tracks_copy(), and blender::ed::outliner::tree_element_gplayer_activate().
Definition at line 736 of file DNA_gpencil_legacy_types.h.
Referenced by blender::animchannels_delete_exec(), blender::animdata_filter_gpencil_layers_data_legacy(), blender::annotation_draw_data_layers(), blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_free_data(), blender::BKE_annotations_layer_active_get(), blender::BKE_annotations_layer_active_set(), blender::BKE_annotations_layer_addnew(), blender::BKE_annotations_layer_delete(), blender::BKE_annotations_layer_named_get(), blender::blo_do_versions_270(), blender::blo_do_versions_280(), blender::blo_do_versions_290(), blender::deg::DepsgraphRelationBuilder::build_object_data_geometry_datablock(), blender::detect_get_layer(), blender::do_versions_after_linking_290(), blender::do_versions_fix_annotations(), blender::draw_distortion(), blender::gather_frames_to_render_for_grease_pencil(), blender::gpencil_layer_move_exec(), blender::gpencil_layer_remove_exec(), blender::gpencil_to_keylist(), blender::greasepencil_blend_write(), blender::greasepencil_copy_data(), blender::greasepencil_foreach_id(), blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil(), blender::ed::outliner::namebutton_fn(), blender::ed::transform::posttrans_gpd_clean(), blender::rearrange_gpencil_channels(), blender::track_mask_gpencil_layer_get(), and blender::view3d_ruler_layer_get().
| float blender::bGPdata::line_color[4] = {} |
Color for edit line.
Definition at line 757 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::blo_do_versions_280().
Materials array.
Definition at line 785 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_free_data(), blender::deg::DepsgraphRelationBuilder::build_object_data_geometry_datablock(), blender::greasepencil_blend_write(), blender::greasepencil_copy_data(), and blender::greasepencil_foreach_id().
| float blender::bGPdata::onion_factor = 0 |
Onion alpha factor change.
Definition at line 761 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| eGPD_OnionFlag blender::bGPdata::onion_flag = {} |
Onion skinning flags.
Definition at line 765 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| short blender::bGPdata::onion_keytype = 0 |
Keyframe type for onion filter (eBezTriple_KeyframeType plus All option)
Definition at line 799 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| eGP_OnionModes blender::bGPdata::onion_mode = GP_ONION_MODE_ABSOLUTE |
Onion skinning range.
Definition at line 763 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| ListBaseT<bGPDpalette> blender::bGPdata::palettes = {nullptr, nullptr} |
List of bGPDpalette's - Deprecated (2.78 - 2.79 only).
Definition at line 748 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_free_data(), blender::BKE_gpencil_palette_addnew(), blender::blo_do_versions_270(), and blender::do_versions_fix_annotations().
| float blender::bGPdata::pixfactor = 0 |
Factor to define pixel size conversion.
Definition at line 755 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::blo_do_versions_280().
| bGPdata_Runtime blender::bGPdata::runtime |
Definition at line 808 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_draw_invoke(), blender::annotation_draw_stabilizer(), blender::annotation_draw_stroke_buffer(), blender::annotation_paint_initstroke(), blender::annotation_paint_strokeend(), blender::annotation_project_check(), blender::annotation_session_cleanup(), blender::annotation_session_validatebuffer(), blender::annotation_smooth_buffer(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_convertcoords(), blender::annotation_stroke_filtermval(), blender::annotation_stroke_newfrombuffer(), blender::BKE_annotations_blend_read_data(), and blender::greasepencil_blend_write().
| int blender::bGPdata::select_last_index = 0 |
Stroke selection last index. Used to generate a unique selection index.
Definition at line 802 of file DNA_gpencil_legacy_types.h.
| short blender::bGPdata::totcol = 0 |
Total materials.
Definition at line 787 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_blend_read_data(), blender::deg::DepsgraphRelationBuilder::build_object_data_geometry_datablock(), blender::greasepencil_blend_write(), and blender::greasepencil_foreach_id().
| short blender::bGPdata::totframe = 0 |
Definition at line 791 of file DNA_gpencil_legacy_types.h.
| short blender::bGPdata::totlayer = 0 |
Definition at line 790 of file DNA_gpencil_legacy_types.h.
| int blender::bGPdata::totpoint = 0 |
Definition at line 794 of file DNA_gpencil_legacy_types.h.
| int blender::bGPdata::totstroke = 0 |
Definition at line 793 of file DNA_gpencil_legacy_types.h.
| int blender::bGPdata::vertex_group_active_index = 0 |
Definition at line 804 of file DNA_gpencil_legacy_types.h.
Referenced by blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil(), and blender::object_defgroup_active_index_get_p().
| ListBaseT<bDeformGroup> blender::bGPdata::vertex_group_names = {nullptr, nullptr} |
List of bDeformGroup names and flag only.
Definition at line 751 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_free_data(), blender::BKE_id_defgroup_list_get(), blender::greasepencil_blend_write(), blender::greasepencil_copy_data(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().
| float blender::bGPdata::zdepth_offset = 0 |
Offset for drawing over surfaces to keep strokes on top.
Definition at line 783 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_data_addnew(), and blender::blo_do_versions_280().