Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_curves_types.h
| Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | typedef struct Curves { | ||||
| * Used as base mesh when curves represent e.g. hair or fur. This surface is used in edit modes. | * 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 | * 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. | * used for deforming the curves when the surface is deformed dynamically. | ||||
| * | * | ||||
| * This is expected to be a mesh object. | * This is expected to be a mesh object. | ||||
| */ | */ | ||||
| struct Object *surface; | struct Object *surface; | ||||
| /** | |||||
| * The name of the attribute on the surface #Mesh used to give meaning to the UV attachement | |||||
JacquesLucke: typo (`attachement`) | |||||
| * coordinates stored on each curve. Expected to be a 2D vector attribute on the face corner | |||||
| * domain. | |||||
| */ | |||||
| char *surface_uv_name; | |||||
| /* Draw Cache. */ | /* Draw Cache. */ | ||||
| void *batch_cache; | void *batch_cache; | ||||
| } Curves; | } Curves; | ||||
| /** #Curves.flag */ | /** #Curves.flag */ | ||||
| enum { | enum { | ||||
| HA_DS_EXPAND = (1 << 0), | HA_DS_EXPAND = (1 << 0), | ||||
| CV_SCULPT_SELECTION_ENABLED = (1 << 1), | CV_SCULPT_SELECTION_ENABLED = (1 << 1), | ||||
| Show All 16 Lines | |||||
typo (attachement)