Blender V5.3
blender::tGPspoint Struct Reference

#include <ED_gpencil_legacy.hh>

Public Attributes

float m_xy [2]
float pressure
float strength
float time
float uv_fac
float uv_rot
float rnd [3]
bool rnd_dirty
float vert_color [4]

Detailed Description

Temporary 'Stroke Point' data (2D / screen-space)

Used as part of the 'stroke cache' used during drawing of new strokes

Definition at line 55 of file ED_gpencil_legacy.hh.

Member Data Documentation

◆ m_xy

◆ pressure

float blender::tGPspoint::pressure

◆ rnd

float blender::tGPspoint::rnd[3]

Random value.

Definition at line 69 of file ED_gpencil_legacy.hh.

◆ rnd_dirty

bool blender::tGPspoint::rnd_dirty

Random flag.

Definition at line 71 of file ED_gpencil_legacy.hh.

◆ strength

float blender::tGPspoint::strength

Pressure of tablet at this point for alpha factor.

Definition at line 61 of file ED_gpencil_legacy.hh.

Referenced by blender::annotation_stroke_addpoint(), and blender::annotation_stroke_newfrombuffer().

◆ time

float blender::tGPspoint::time

Time relative to stroke start (used when converting to path & in build modifier).

Definition at line 63 of file ED_gpencil_legacy.hh.

Referenced by blender::annotation_stroke_addpoint(), and blender::annotation_stroke_newfrombuffer().

◆ uv_fac

float blender::tGPspoint::uv_fac

Factor of uv along the stroke.

Definition at line 65 of file ED_gpencil_legacy.hh.

◆ uv_rot

float blender::tGPspoint::uv_rot

UV rotation for dot mode.

Definition at line 67 of file ED_gpencil_legacy.hh.

◆ vert_color

float blender::tGPspoint::vert_color[4]

Point vertex color.

Definition at line 73 of file ED_gpencil_legacy.hh.


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