Blender V5.0
bGPDspoint Struct Reference

#include <DNA_gpencil_legacy_types.h>

Public Attributes

float x
float y
float z
float pressure
float strength
float time
int flag
float uv_fac
float uv_rot
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 35 of file DNA_gpencil_legacy_types.h.

Member Data Documentation

◆ _pad2

char bGPDspoint::_pad2[4]

Runtime data

Definition at line 60 of file DNA_gpencil_legacy_types.h.

◆ flag

int bGPDspoint::flag

◆ pressure

◆ strength

◆ time

◆ uv_fac

float bGPDspoint::uv_fac

Factor of uv along the stroke.

Definition at line 50 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_stroke_uv_update().

◆ uv_fill

float bGPDspoint::uv_fill[2]

UV for fill mode

Definition at line 54 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_stroke_fill_triangulate().

◆ uv_rot

float bGPDspoint::uv_rot

UV rotation for dot mode.

Definition at line 52 of file DNA_gpencil_legacy_types.h.

◆ vert_color

float bGPDspoint::vert_color[4]

Vertex Color RGBA (A=mix factor).

Definition at line 57 of file DNA_gpencil_legacy_types.h.

Referenced by blo_do_versions_280(), and gpencil_stroke_join_islands().

◆ x

◆ y

◆ z


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