Blender  V3.3
Macros
particle_edit_utildefines.h File Reference

Go to the source code of this file.

Macros

#define KEY_K
 
#define POINT_P
 
#define LOOP_POINTS   for (p = 0, point = edit->points; p < edit->totpoint; p++, point++)
 
#define LOOP_VISIBLE_POINTS
 
#define LOOP_SELECTED_POINTS
 
#define LOOP_UNSELECTED_POINTS
 
#define LOOP_EDITED_POINTS
 
#define LOOP_TAGGED_POINTS
 
#define LOOP_KEYS   for (k = 0, key = point->keys; k < point->totkey; k++, key++)
 
#define LOOP_VISIBLE_KEYS
 
#define LOOP_SELECTED_KEYS
 
#define LOOP_TAGGED_KEYS
 
#define KEY_WCO   ((key->flag & PEK_USE_WCO) ? key->world_co : key->co)
 

Macro Definition Documentation

◆ KEY_K

#define KEY_K
Value:

Definition at line 10 of file particle_edit_utildefines.h.

◆ KEY_WCO

#define KEY_WCO   ((key->flag & PEK_USE_WCO) ? key->world_co : key->co)

Definition at line 43 of file particle_edit_utildefines.h.

◆ LOOP_EDITED_POINTS

#define LOOP_EDITED_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \
if (point->flag & PEP_EDIT_RECALC)
#define PEP_EDIT_RECALC
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Sky Generate a procedural sky texture Noise Generate fractal Perlin noise Wave Generate procedural bands or rings with noise Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a point

Definition at line 26 of file particle_edit_utildefines.h.

◆ LOOP_KEYS

#define LOOP_KEYS   for (k = 0, key = point->keys; k < point->totkey; k++, key++)

Definition at line 32 of file particle_edit_utildefines.h.

◆ LOOP_POINTS

#define LOOP_POINTS   for (p = 0, point = edit->points; p < edit->totpoint; p++, point++)

Definition at line 16 of file particle_edit_utildefines.h.

◆ LOOP_SELECTED_KEYS

#define LOOP_SELECTED_KEYS
Value:
for (k = 0, key = point->keys; k < point->totkey; k++, key++) \
if ((key->flag & PEK_SELECT) && !(key->flag & PEK_HIDE))
#define PEK_HIDE
#define PEK_SELECT

Definition at line 36 of file particle_edit_utildefines.h.

◆ LOOP_SELECTED_POINTS

#define LOOP_SELECTED_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \
static bool point_is_selected(PTCacheEditPoint *point)

Definition at line 20 of file particle_edit_utildefines.h.

◆ LOOP_TAGGED_KEYS

#define LOOP_TAGGED_KEYS
Value:
for (k = 0, key = point->keys; k < point->totkey; k++, key++) \
if (key->flag & PEK_TAG)
#define PEK_TAG

Definition at line 39 of file particle_edit_utildefines.h.

◆ LOOP_TAGGED_POINTS

#define LOOP_TAGGED_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \
if (point->flag & PEP_TAG)
#define PEP_TAG

Definition at line 29 of file particle_edit_utildefines.h.

◆ LOOP_UNSELECTED_POINTS

#define LOOP_UNSELECTED_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \

Definition at line 23 of file particle_edit_utildefines.h.

◆ LOOP_VISIBLE_KEYS

#define LOOP_VISIBLE_KEYS
Value:
for (k = 0, key = point->keys; k < point->totkey; k++, key++) \
if (!(key->flag & PEK_HIDE))

Definition at line 33 of file particle_edit_utildefines.h.

◆ LOOP_VISIBLE_POINTS

#define LOOP_VISIBLE_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \
if (!(point->flag & PEP_HIDE))
#define PEP_HIDE

Definition at line 17 of file particle_edit_utildefines.h.

◆ POINT_P

#define POINT_P
Value:

Definition at line 13 of file particle_edit_utildefines.h.