Blender V5.3
rna_rna.cc File Reference
#include <cstdlib>
#include <CLG_log.h>
#include "BLT_translation.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::rna_def_struct (BlenderRNA *brna)
static void blender::rna_def_property (BlenderRNA *brna)
static void blender::rna_def_function (BlenderRNA *brna)
static void blender::rna_def_number_property (StructRNA *srna, PropertyType type)
static void blender::rna_def_string_property (StructRNA *srna)
static void blender::rna_def_enum_property (BlenderRNA *brna, StructRNA *srna)
static void blender::rna_def_pointer_property (StructRNA *srna, PropertyType type)
static void blender::rna_def_rna_primitive (BlenderRNA *brna)
void blender::RNA_def_rna (BlenderRNA *brna)

Variables

Generic Enum's
const EnumPropertyItem blender::rna_enum_dummy_NULL_items []
const EnumPropertyItem blender::rna_enum_dummy_DEFAULT_items []

RNA Enum's

#define RNA_ENUM_PROPERTY_SUBTYPE_STRING_ITEMS
#define RNA_ENUM_PROPERTY_SUBTYPE_NUMBER_ITEMS
#define RNA_ENUM_PROPERTY_SUBTYPE_NUMBER_ARRAY_ITEMS
const EnumPropertyItem blender::rna_enum_property_type_items []
const EnumPropertyItem blender::rna_enum_property_subtype_string_items []
const EnumPropertyItem blender::rna_enum_property_subtype_number_items []
const EnumPropertyItem blender::rna_enum_property_subtype_number_array_items []
const EnumPropertyItem blender::rna_enum_property_subtype_items []
const EnumPropertyItem blender::rna_enum_property_unit_items []
static constexpr auto blender::PROP_READ_ONLY_DESCR = "When set, the property cannot be edited"
static constexpr auto blender::PROP_HIDDEN_DESCR
static constexpr auto blender::PROP_SKIP_SAVE_DESCR
static constexpr auto blender::PROP_SKIP_PRESET_DESCR = "Do not write in presets"
static constexpr auto blender::PROP_ANIMATABLE_DESCR = ""
static constexpr auto blender::PROP_LIB_EXCEPTION_DESCR
static constexpr auto blender::PROP_PROPORTIONAL_DESCR = ""
static constexpr auto blender::PROP_TEXTEDIT_UPDATE_DESCR = ""
static constexpr auto blender::PROP_PATH_OUTPUT_DESCR = ""
static constexpr auto blender::PROP_PATH_RELATIVE_DESCR
static constexpr auto blender::PROP_PATH_SUPPORTS_TEMPLATES_DESCR
static constexpr auto blender::PROP_ENUM_FLAG_DESCR = ""
const EnumPropertyItem blender::rna_enum_property_flag_items []
const EnumPropertyItem blender::rna_enum_property_flag_enum_items []
static const EnumPropertyItem blender::rna_enum_property_item_library_overridable
const EnumPropertyItem blender::rna_enum_property_override_flag_items []
const EnumPropertyItem blender::rna_enum_property_override_flag_collection_items []
const EnumPropertyItem blender::rna_enum_property_string_search_flag_items []

Macro Definition Documentation

◆ RNA_ENUM_PROPERTY_SUBTYPE_NUMBER_ARRAY_ITEMS

#define RNA_ENUM_PROPERTY_SUBTYPE_NUMBER_ARRAY_ITEMS
Value:
{PROP_COLOR, "COLOR", 0, "Linear Color", "Color in the scene linear working color space"}, \
{PROP_TRANSLATION, "TRANSLATION", 0, "Translation", ""}, \
{PROP_DIRECTION, "DIRECTION", 0, "Direction", ""}, \
{PROP_VELOCITY, "VELOCITY", 0, "Velocity", ""}, \
{PROP_ACCELERATION, "ACCELERATION", 0, "Acceleration", ""}, \
{PROP_MATRIX, "MATRIX", 0, "Matrix", ""}, \
{PROP_EULER, "EULER", 0, "Euler Angles", "Euler rotation angles in radians"}, \
{PROP_QUATERNION, "QUATERNION", 0, "Quaternion", "Quaternion rotation (affects NLA blending)"}, \
{PROP_AXISANGLE, "AXISANGLE", 0, "Axis-Angle", "Angle and axis to rotate around"}, \
{PROP_XYZ, "XYZ", 0, "XYZ", ""}, \
{PROP_XYZ_LENGTH, "XYZ_LENGTH", 0, "XYZ Length", ""}, \
{PROP_COLOR_GAMMA, "COLOR_GAMMA", 0, "sRGB Color", "Color in sRGB color space (mainly for user interface colors)"}, \
{PROP_COORDS, "COORDINATES", 0, "Coordinates", ""}, \
\
{PROP_LAYER, "LAYER", 0, "Layer", ""}, \
{PROP_LAYER_MEMBER, "LAYER_MEMBER", 0, "Layer Member", ""}
@ PROP_ACCELERATION
Definition RNA_types.hh:321
@ PROP_XYZ_LENGTH
Definition RNA_types.hh:327
@ PROP_LAYER_MEMBER
Definition RNA_types.hh:335
@ PROP_COORDS
Definition RNA_types.hh:331
@ PROP_MATRIX
Definition RNA_types.hh:322
@ PROP_VELOCITY
Definition RNA_types.hh:320
@ PROP_QUATERNION
Definition RNA_types.hh:324
@ PROP_AXISANGLE
Definition RNA_types.hh:325
@ PROP_DIRECTION
Definition RNA_types.hh:319
@ PROP_COLOR_GAMMA
Definition RNA_types.hh:329

Definition at line 88 of file rna_rna.cc.

◆ RNA_ENUM_PROPERTY_SUBTYPE_NUMBER_ITEMS

#define RNA_ENUM_PROPERTY_SUBTYPE_NUMBER_ITEMS
Value:
{PROP_PIXEL, "PIXEL", 0, "Pixel", "A distance on screen"}, \
{PROP_PIXEL_DIAMETER, "PIXEL_DIAMETER", 0, "Pixel", "A distance on screen, specifically representing a diameter value"}, \
{PROP_UNSIGNED, "UNSIGNED", 0, "Unsigned", ""}, \
{PROP_PERCENTAGE, "PERCENTAGE", 0, "Percentage", "A percentage between 0 and 100"}, \
{PROP_FACTOR, "FACTOR", 0, "Factor", "A factor between 0.0 and 1.0"}, \
{PROP_MASS, "MASS", 0, "Mass", "A mass, based on scene unit settings"}, \
{PROP_ANGLE, "ANGLE", 0, "Angle", "A rotational value specified in radians"}, \
{PROP_TIME, "TIME", 0, "Time (Scene Relative)", \
"Time specified in frames, converted to seconds based on scene frame rate"}, \
{PROP_TIME_ABSOLUTE, "TIME_ABSOLUTE", 0, "Time (Absolute)", \
"Time specified in seconds, independent of the scene"}, \
{PROP_DISTANCE, "DISTANCE", 0, "Distance", "A distance between two points"}, \
{PROP_DISTANCE_DIAMETER, "DISTANCE_DIAMETER", 0, "Distance", "A distance between two points, specifically representing a diameter value"}, \
{PROP_DISTANCE_CAMERA, "DISTANCE_CAMERA", 0, "Camera Distance", ""}, \
{PROP_POWER, "POWER", 0, "Power", ""}, \
{PROP_TEMPERATURE, "TEMPERATURE", 0, "Temperature", ""}, \
{PROP_WAVELENGTH, "WAVELENGTH", 0, "Wavelength", ""}, \
{PROP_COLOR_TEMPERATURE, "COLOR_TEMPERATURE", 0, "Color Temperature", ""}, \
{PROP_FREQUENCY, "FREQUENCY", 0, "Frequency", ""}
@ PROP_TEMPERATURE
Definition RNA_types.hh:341
@ PROP_PERCENTAGE
Definition RNA_types.hh:307
@ PROP_DISTANCE_CAMERA
Definition RNA_types.hh:314
@ PROP_TIME_ABSOLUTE
Definition RNA_types.hh:311
@ PROP_FACTOR
Definition RNA_types.hh:308
@ PROP_DISTANCE_DIAMETER
Definition RNA_types.hh:351
@ PROP_DISTANCE
Definition RNA_types.hh:313
@ PROP_FREQUENCY
Definition RNA_types.hh:349
@ PROP_COLOR_TEMPERATURE
Definition RNA_types.hh:347
@ PROP_WAVELENGTH
Definition RNA_types.hh:344
@ PROP_UNSIGNED
Definition RNA_types.hh:306

Definition at line 67 of file rna_rna.cc.

◆ RNA_ENUM_PROPERTY_SUBTYPE_STRING_ITEMS

#define RNA_ENUM_PROPERTY_SUBTYPE_STRING_ITEMS
Value:
{PROP_FILEPATH, "FILE_PATH", 0, "File Path", ""}, \
{PROP_DIRPATH, "DIR_PATH", 0, "Directory Path", ""}, \
{PROP_FILENAME, "FILE_NAME", 0, "File Name", ""}, \
{PROP_BYTESTRING, "BYTE_STRING", 0, "Byte String", ""}, \
{PROP_PASSWORD, "PASSWORD", 0, "Password", "A string that is displayed hidden ('********')"}
@ PROP_FILENAME
Definition RNA_types.hh:286
@ PROP_BYTESTRING
Definition RNA_types.hh:295
@ PROP_PASSWORD
Definition RNA_types.hh:298

Definition at line 60 of file rna_rna.cc.