Blender V5.3
blender::Curves Struct Reference

#include <DNA_curves_types.h>

Public Attributes

ID id
struct AnimData * adt = nullptr
CurvesGeometry geometry
eCurves_Flag flag = {}
int attributes_active_index_legacy = 0
struct Material ** mat = nullptr
short totcol = 0
eCurvesSymmetryType symmetry = {}
char selection_domain = 0
char _pad [4] = {}
struct Object * surface = nullptr
char * surface_uv_map = nullptr
float surface_collision_distance = 0.005f
char _pad2 [4] = {}
draw::CurvesBatchCache * batch_cache = nullptr

Detailed Description

A data-block corresponding to a number of curves of various types with various attributes. Geometry data (as opposed to pointers to other data-blocks and higher level data for user interaction) is embedded in the CurvesGeometry struct.

Definition at line 195 of file DNA_curves_types.h.

Member Data Documentation

◆ _pad

char blender::Curves::_pad[4] = {}

Definition at line 225 of file DNA_curves_types.h.

◆ _pad2

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

Definition at line 245 of file DNA_curves_types.h.

◆ adt

struct AnimData* blender::Curves::adt = nullptr

Animation data (must be immediately after id).

Definition at line 203 of file DNA_curves_types.h.

◆ attributes_active_index_legacy

int blender::Curves::attributes_active_index_legacy = 0

Definition at line 209 of file DNA_curves_types.h.

◆ batch_cache

draw::CurvesBatchCache* blender::Curves::batch_cache = nullptr

Definition at line 248 of file DNA_curves_types.h.

◆ flag

eCurves_Flag blender::Curves::flag = {}

Definition at line 208 of file DNA_curves_types.h.

◆ geometry

CurvesGeometry blender::Curves::geometry

Geometry data.

Definition at line 206 of file DNA_curves_types.h.

◆ id

ID blender::Curves::id

Definition at line 201 of file DNA_curves_types.h.

◆ mat

struct Material** blender::Curves::mat = nullptr

Definition at line 212 of file DNA_curves_types.h.

◆ selection_domain

char blender::Curves::selection_domain = 0

AttrDomain. The active domain for edit/sculpt mode selection. Only one selection mode can be active at a time.

Definition at line 224 of file DNA_curves_types.h.

◆ surface

struct Object* blender::Curves::surface = nullptr

Used as base mesh when curves represent e.g. hair or fur. This surface is used in edit modes. When set, the curves will have attributes that indicate a position on this surface. This is used for deforming the curves when the surface is deformed dynamically.

This is expected to be a mesh object.

Definition at line 234 of file DNA_curves_types.h.

◆ surface_collision_distance

float blender::Curves::surface_collision_distance = 0.005f

Definition at line 244 of file DNA_curves_types.h.

◆ surface_uv_map

char* blender::Curves::surface_uv_map = nullptr

The name of the attribute on the surface Mesh used to give meaning to the UV attachment coordinates stored for each curve. Expected to be a 2D vector attribute on the face corner domain.

Definition at line 241 of file DNA_curves_types.h.

◆ symmetry

eCurvesSymmetryType blender::Curves::symmetry = {}

User-defined symmetry flag that causes editing operations to maintain symmetrical geometry.

Definition at line 219 of file DNA_curves_types.h.

◆ totcol

short blender::Curves::totcol = 0

Definition at line 213 of file DNA_curves_types.h.


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