Blender
V3.3
|
#include <stdlib.h>
#include "BLI_math.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "rna_internal.h"
#include "DNA_armature_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "WM_api.h"
#include "WM_types.h"
Go to the source code of this file.
Macros | |
#define | RNA_DEF_CURVEBONE_UPDATE(prop, is_posebone, is_editbone) |
Functions | |
void | rna_def_bone_curved_common (StructRNA *srna, bool is_posebone, bool is_editbone) |
static void | rna_def_bone_common (StructRNA *srna, int editbone) |
static void | rna_def_bone (BlenderRNA *brna) |
static void | rna_def_edit_bone (BlenderRNA *brna) |
static void | rna_def_armature_bones (BlenderRNA *brna, PropertyRNA *cprop) |
static void | rna_def_armature_edit_bones (BlenderRNA *brna, PropertyRNA *cprop) |
static void | rna_def_armature (BlenderRNA *brna) |
void | RNA_def_armature (BlenderRNA *brna) |
#define RNA_DEF_CURVEBONE_UPDATE | ( | prop, | |
is_posebone, | |||
is_editbone | |||
) |
|
static |
Definition at line 1414 of file rna_armature.c.
References ARM_B_BONE, ARM_COL_CUSTOM, ARM_DRAWAXES, ARM_DRAWNAMES, ARM_ENVELOPE, ARM_LINE, ARM_MIRROR_EDIT, ARM_NO_CUSTOM, ARM_OCTA, ARM_RESTPOS, ARM_WIRE, NC_OBJECT, ND_POSE, NULL, PARM_REQUIRED, PROP_BOOLEAN, PROP_COLLECTION, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_LAYER, PROP_LAYER_MEMBER, PROP_LIB_EXCEPTION, PROP_NONE, rna_def_animdata_common(), rna_def_armature_bones(), rna_def_armature_edit_bones(), RNA_def_float_matrix(), RNA_def_function(), RNA_def_function_ui_description(), RNA_def_parameter_flags(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_funcs(), RNA_def_property_collection_sdna(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), and RNA_define_lib_overridable().
Referenced by RNA_def_armature().
void RNA_def_armature | ( | BlenderRNA * | brna | ) |
Definition at line 1577 of file rna_armature.c.
References rna_def_armature(), rna_def_bone(), and rna_def_edit_bone().
|
static |
Definition at line 1345 of file rna_armature.c.
References NULL, PROP_EDITABLE, PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_srna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_armature().
|
static |
Definition at line 1370 of file rna_armature.c.
References FUNC_USE_REPORTS, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_EDITABLE, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_THICK_WRAP, RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), RNA_def_function_ui_description(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_srna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_armature().
|
static |
Definition at line 1122 of file rna_armature.c.
References BONE_HIDDEN_P, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, NULL, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_DISTANCE, PROP_EDITABLE, PROP_FLOAT, PROP_MATRIX, PROP_NONE, PROP_POINTER, PROP_PTR_NO_OWNERSHIP, PROP_TRANSLATION, RNA_api_bone(), rna_def_bone_common(), rna_def_bone_curved_common(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_multi_array(), RNA_def_property_pointer_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_icon(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_idprops_func(), RNA_def_struct_path_func(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), RNA_define_lib_overridable(), rna_matrix_dimsize_3x3, rna_matrix_dimsize_4x4, and RNA_TRANSLATION_PREC_DEFAULT.
Referenced by RNA_def_armature().
Definition at line 773 of file rna_armature.c.
References BBONE_HANDLE_ABSOLUTE, BBONE_HANDLE_AUTO, BBONE_HANDLE_RELATIVE, BBONE_HANDLE_SCALE_EASE, BBONE_HANDLE_SCALE_X, BBONE_HANDLE_TANGENT, BONE_CONNECTED, BONE_DRAWWIRE, BONE_HINGE, BONE_INHERIT_SCALE_ALIGNED, BONE_INHERIT_SCALE_AVERAGE, BONE_INHERIT_SCALE_FIX_SHEAR, BONE_INHERIT_SCALE_FULL, BONE_INHERIT_SCALE_NONE, BONE_INHERIT_SCALE_NONE_LEGACY, BONE_MULT_VG_ENV, BONE_NO_CYCLICOFFSET, BONE_NO_DEFORM, BONE_NO_LOCAL_LOCATION, BONE_RELATIVE_PARENTING, BONE_UNSELECTABLE, NULL, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_DISTANCE, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_LAYER_MEMBER, PROP_NONE, PROP_POINTER, PROP_PTR_NO_OWNERSHIP, PROP_STRING, PROPOVERRIDE_NO_COMPARISON, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_string_funcs(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct_name_property(), RNA_define_lib_overridable(), and RNA_TRANSLATION_PREC_DEFAULT.
Referenced by rna_def_bone(), and rna_def_edit_bone().
Settings for curved bbone settings.
Definition at line 649 of file rna_armature.c.
References BBONE_ADD_PARENT_END_ROLL, BBONE_SCALE_EASING, M_PI, NULL, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_FLOAT, PROP_NONE, PROP_PROPORTIONAL, PROP_XYZ, RNA_DEF_CURVEBONE_UPDATE, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_def_property_float_array_default(), RNA_def_property_float_default(), RNA_def_property_float_sdna(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), rna_default_scale_3d, and RNA_TRANSLATION_PREC_DEFAULT.
Referenced by rna_def_bone(), rna_def_edit_bone(), and rna_def_pose_channel().
|
static |
Definition at line 1241 of file rna_armature.c.
References BONE_EDITMODE_LOCKED, BONE_HIDDEN_A, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, M_PI, NULL, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_DISTANCE, PROP_EDITABLE, PROP_FLOAT, PROP_MATRIX, PROP_NONE, PROP_POINTER, PROP_THICK_WRAP, PROP_TRANSLATION, RNA_api_armature_edit_bone(), rna_def_bone_common(), rna_def_bone_curved_common(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_multi_array(), RNA_def_property_pointer_funcs(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_idprops_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), RNA_define_verify_sdna(), rna_matrix_dimsize_4x4, and RNA_TRANSLATION_PREC_DEFAULT.
Referenced by RNA_def_armature().