Blender V5.0
blender::bke::GreasePencilEditHints Class Reference

#include <BKE_grease_pencil.hh>

Public Member Functions

 GreasePencilEditHints (const GreasePencil &grease_pencil_id_orig)

Public Attributes

const GreasePencilgrease_pencil_id_orig
std::optional< Array< GreasePencilDrawingEditHints > > drawing_hints

Detailed Description

Used to propagate deformation data through modifier evaluation.

Examples
/usr/src/RPM/BUILD/blender5.0-5.0.0/source/blender/blenkernel/BKE_grease_pencil.hh.

Definition at line 972 of file BKE_grease_pencil.hh.

Constructor & Destructor Documentation

◆ GreasePencilEditHints()

blender::bke::GreasePencilEditHints::GreasePencilEditHints ( const GreasePencil & grease_pencil_id_orig)
inline

Member Data Documentation

◆ drawing_hints

std::optional<Array<GreasePencilDrawingEditHints> > blender::bke::GreasePencilEditHints::drawing_hints

Array of GreasePencilDrawingEditHints. There is one edit hint for each evaluated drawing.

Note
The index for each element is the evaluated layer index.
Examples
/usr/src/RPM/BUILD/blender5.0-5.0.0/source/blender/blenkernel/BKE_grease_pencil.hh.

Definition at line 988 of file BKE_grease_pencil.hh.

Referenced by blender::bke::crazyspace::get_drawing_edit_hint_for_original_drawing(), and blender::geometry::transform_grease_pencil_edit_hints().

◆ grease_pencil_id_orig

const GreasePencil& blender::bke::GreasePencilEditHints::grease_pencil_id_orig

Original data that the edit hints below are meant to be used for.

Examples
/usr/src/RPM/BUILD/blender5.0-5.0.0/source/blender/blenkernel/BKE_grease_pencil.hh.

Definition at line 977 of file BKE_grease_pencil.hh.

Referenced by GreasePencilEditHints().


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