Blender V5.0
rna_curves.cc File Reference
#include <cstdlib>
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"
#include "DNA_curves_types.h"
#include "BKE_attribute.h"
#include "BLT_translation.hh"
#include "WM_types.hh"

Go to the source code of this file.

Functions

static void rna_def_curves_point (BlenderRNA *brna)
static void rna_def_read_only_float_vector (BlenderRNA *brna)
static void rna_def_curves_curve (BlenderRNA *brna)
static void rna_def_curves (BlenderRNA *brna)
void RNA_def_curves (BlenderRNA *brna)

Variables

const EnumPropertyItem rna_enum_curves_type_items []
const EnumPropertyItem rna_enum_curves_handle_type_items []
const EnumPropertyItem rna_enum_curve_normal_mode_items []

Function Documentation

◆ RNA_def_curves()

void RNA_def_curves ( BlenderRNA * brna)

Definition at line 577 of file rna_curves.cc.

References rna_def_curves(), rna_def_curves_curve(), and rna_def_curves_point().

◆ rna_def_curves()

◆ rna_def_curves_curve()

◆ rna_def_curves_point()

◆ rna_def_read_only_float_vector()

Variable Documentation

◆ rna_enum_curve_normal_mode_items

const EnumPropertyItem rna_enum_curve_normal_mode_items[]
Initial value:
= {
"MINIMUM_TWIST",
ICON_NONE,
N_("Minimum Twist"),
N_("Calculate normals with the smallest twist around the curve tangent across the whole "
"curve")},
"Z_UP",
ICON_NONE,
N_("Z Up"),
N_("Calculate normals perpendicular to the Z axis and the curve tangent. If a series of "
"points is vertical, the X axis is used.")},
"FREE",
ICON_NONE,
N_("Free"),
N_("Use the stored custom normal attribute as the final normals")},
{0, nullptr, 0, nullptr, nullptr},
}
@ NORMAL_MODE_MINIMUM_TWIST
@ NORMAL_MODE_FREE
@ NORMAL_MODE_Z_UP
#define N_(msgid)

Definition at line 56 of file rna_curves.cc.

Referenced by blender::nodes::node_geo_set_curve_normal_cc::node_declare().

◆ rna_enum_curves_handle_type_items

const EnumPropertyItem rna_enum_curves_handle_type_items[]
Initial value:
= {
"FREE",
0,
"Free",
"The handle can be moved anywhere, and does not influence the point's other handle"},
"AUTO",
0,
"Auto",
"The location is automatically calculated to be smooth"},
"VECTOR",
0,
"Vector",
"The location is calculated to point to the next/previous control point"},
"ALIGN",
0,
"Align",
"The location is constrained to point in the opposite direction as the other handle"},
{0, nullptr, 0, nullptr, nullptr},
}
@ BEZIER_HANDLE_FREE
@ BEZIER_HANDLE_ALIGN
@ BEZIER_HANDLE_VECTOR
@ BEZIER_HANDLE_AUTO

Definition at line 32 of file rna_curves.cc.

◆ rna_enum_curves_type_items