Blender V5.3
blender::bGPDspoint Struct Reference

#include <DNA_gpencil_legacy_types.h>

Public Attributes

float x = 0
float y = 0
float z = 0
float pressure = 0
float strength = 0
float time = 0
eGPDspoint_Flag flag = {}
float uv_fac = 0
float uv_rot = 0
float uv_fill [2] = {}
float vert_color [4] = {}
char _pad2 [4] = {}

Detailed Description

Grease-Pencil Annotations - 'Stroke Point' -> Coordinates may either be 2d or 3d depending on settings at the time -> Coordinates of point on stroke, in proportions of window size This assumes that the bottom-left corner is (0,0)

Definition at line 308 of file DNA_gpencil_legacy_types.h.

Member Data Documentation

◆ _pad2

char blender::bGPDspoint::_pad2[4] = {}

Definition at line 330 of file DNA_gpencil_legacy_types.h.

◆ flag

eGPDspoint_Flag blender::bGPDspoint::flag = {}

◆ pressure

◆ strength

◆ time

◆ uv_fac

float blender::bGPDspoint::uv_fac = 0

Factor of uv along the stroke.

Definition at line 321 of file DNA_gpencil_legacy_types.h.

Referenced by blender::stroke_uv_update().

◆ uv_fill

float blender::bGPDspoint::uv_fill[2] = {}

UV for fill mode

Definition at line 325 of file DNA_gpencil_legacy_types.h.

Referenced by blender::stroke_fill_triangulate().

◆ uv_rot

float blender::bGPDspoint::uv_rot = 0

UV rotation for dot mode.

Definition at line 323 of file DNA_gpencil_legacy_types.h.

◆ vert_color

float blender::bGPDspoint::vert_color[4] = {}

Vertex Color RGBA (A=mix factor).

Definition at line 328 of file DNA_gpencil_legacy_types.h.

Referenced by blender::blo_do_versions_280(), and blender::stroke_join_islands().

◆ x

◆ y

◆ z


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