Blender V5.0
CurveProfilePoint Struct Reference

#include <DNA_curveprofile_types.h>

Public Attributes

float x
float y
short flag
char h1
char h2
float h1_loc [2]
float h2_loc [2]
char _pad [4]
struct CurveProfileprofile

Detailed Description

Each control point that makes up the profile.

Note
The flags use the same enum as Bezier curves, but they aren't guaranteed to have identical functionality, and all types aren't implemented.

Definition at line 18 of file DNA_curveprofile_types.h.

Member Data Documentation

◆ _pad

char CurveProfilePoint::_pad[4]

Definition at line 29 of file DNA_curveprofile_types.h.

◆ flag

◆ h1

◆ h1_loc

float CurveProfilePoint::h1_loc[2]

Handle locations, keep together.

Note
For now the two handle types are set to the same type in RNA.

Definition at line 27 of file DNA_curveprofile_types.h.

Referenced by BKE_curveprofile_move_handle(), BKE_curveprofile_move_point(), BKE_curveprofile_reverse(), CurveProfile_buttons_layout(), point_calculate_handle(), ui_do_but_CURVEPROFILE(), ui_draw_but_CURVEPROFILE(), and ui_numedit_but_CURVEPROFILE().

◆ h2

◆ h2_loc

◆ profile

struct CurveProfile* CurveProfilePoint::profile

Runtime pointer to the point's profile for updating the curve with no direct reference.

Definition at line 31 of file DNA_curveprofile_types.h.

Referenced by BKE_curveprofile_blend_read(), BKE_curveprofile_copy_data(), BKE_curveprofile_insert(), BKE_curveprofile_reset(), BKE_curveprofile_reverse(), and BKE_curveprofile_set_defaults().

◆ x

◆ y


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