Blender V4.3
blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams Struct Reference

#include <grease_pencil_intern.hh>

Static Public Member Functions

static GreasePencilStrokeParams from_context (const Scene &scene, Depsgraph &depsgraph, ARegion &region, RegionView3D &rv3d, Object &object, int layer_index, int frame_number, float multi_frame_falloff, bke::greasepencil::Drawing &drawing)
 

Public Attributes

const ToolSettingstoolsettings
 
const ARegionregion
 
const RegionView3Drv3d
 
const Scenescene
 
Objectob_orig
 
Objectob_eval
 
const bke::greasepencil::Layerlayer
 
int layer_index
 
int frame_number
 
float multi_frame_falloff
 
bke::greasepencil::Drawingdrawing
 

Detailed Description

Definition at line 98 of file grease_pencil_intern.hh.

Member Function Documentation

◆ from_context()

GreasePencilStrokeParams blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::from_context ( const Scene & scene,
Depsgraph & depsgraph,
ARegion & region,
RegionView3D & rv3d,
Object & object,
int layer_index,
int frame_number,
float multi_frame_falloff,
bke::greasepencil::Drawing & drawing )
static

Member Data Documentation

◆ drawing

bke::greasepencil::Drawing& blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::drawing

Definition at line 109 of file grease_pencil_intern.hh.

Referenced by from_context().

◆ frame_number

int blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::frame_number

Definition at line 107 of file grease_pencil_intern.hh.

Referenced by from_context().

◆ layer

const bke::greasepencil::Layer& blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::layer

Definition at line 105 of file grease_pencil_intern.hh.

Referenced by from_context().

◆ layer_index

int blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::layer_index

Definition at line 106 of file grease_pencil_intern.hh.

Referenced by from_context().

◆ multi_frame_falloff

float blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::multi_frame_falloff

Definition at line 108 of file grease_pencil_intern.hh.

Referenced by from_context().

◆ ob_eval

Object& blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::ob_eval

Definition at line 104 of file grease_pencil_intern.hh.

Referenced by from_context().

◆ ob_orig

Object& blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::ob_orig

Definition at line 103 of file grease_pencil_intern.hh.

◆ region

const ARegion& blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::region

Definition at line 100 of file grease_pencil_intern.hh.

Referenced by from_context().

◆ rv3d

const RegionView3D& blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::rv3d

Definition at line 101 of file grease_pencil_intern.hh.

Referenced by from_context().

◆ scene

const Scene& blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::scene

Definition at line 102 of file grease_pencil_intern.hh.

Referenced by from_context().

◆ toolsettings

const ToolSettings& blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams::toolsettings

Definition at line 99 of file grease_pencil_intern.hh.


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