Blender
V3.3
|
RNA property definitions for Rigid Body datatypes. More...
#include <stdlib.h>
#include <string.h>
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "rna_internal.h"
#include "DNA_collection_types.h"
#include "DNA_object_types.h"
#include "DNA_rigidbody_types.h"
#include "DNA_scene_types.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "DEG_depsgraph_build.h"
#include "WM_types.h"
Go to the source code of this file.
Functions | |
static void | rna_def_rigidbody_world (BlenderRNA *brna) |
static void | rna_def_rigidbody_object (BlenderRNA *brna) |
static void | rna_def_rigidbody_constraint (BlenderRNA *brna) |
void | RNA_def_rigidbody (BlenderRNA *brna) |
Variables | |
const EnumPropertyItem | rna_enum_rigidbody_object_type_items [] |
const EnumPropertyItem | rna_enum_rigidbody_object_shape_items [] |
const EnumPropertyItem | rna_enum_rigidbody_constraint_type_items [] |
static const EnumPropertyItem | rna_enum_rigidbody_constraint_spring_type_items [] |
static const EnumPropertyItem | rigidbody_mesh_source_items [] |
RNA property definitions for Rigid Body datatypes.
Definition in file rna_rigidbody.c.
void RNA_def_rigidbody | ( | BlenderRNA * | brna | ) |
Definition at line 1581 of file rna_rigidbody.c.
References rna_def_rigidbody_constraint(), rna_def_rigidbody_object(), and rna_def_rigidbody_world().
|
static |
Definition at line 1194 of file rna_rigidbody.c.
References M_PI, M_PI_4, NC_OBJECT, ND_DRAW, ND_POINTCACHE, NULL, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_POINTER, PROP_UNIT_LENGTH, PROP_UNIT_VELOCITY, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RBC_FLAG_DISABLE_COLLISIONS, RBC_FLAG_ENABLED, RBC_FLAG_OVERRIDE_SOLVER_ITERATIONS, RBC_FLAG_USE_BREAKING, RBC_FLAG_USE_LIMIT_ANG_X, RBC_FLAG_USE_LIMIT_ANG_Y, RBC_FLAG_USE_LIMIT_ANG_Z, RBC_FLAG_USE_LIMIT_LIN_X, RBC_FLAG_USE_LIMIT_LIN_Y, RBC_FLAG_USE_LIMIT_LIN_Z, RBC_FLAG_USE_MOTOR_ANG, RBC_FLAG_USE_MOTOR_LIN, RBC_FLAG_USE_SPRING_ANG_X, RBC_FLAG_USE_SPRING_ANG_Y, RBC_FLAG_USE_SPRING_ANG_Z, RBC_FLAG_USE_SPRING_X, RBC_FLAG_USE_SPRING_Y, RBC_FLAG_USE_SPRING_Z, RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_default(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_int_default(), RNA_def_property_int_funcs(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_enum_rigidbody_constraint_spring_type_items, and rna_enum_rigidbody_constraint_type_items.
Referenced by RNA_def_rigidbody().
|
static |
Definition at line 1011 of file rna_rigidbody.c.
References NC_OBJECT, ND_POINTCACHE, NULL, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_LAYER_MEMBER, PROP_LIB_EXCEPTION, PROP_NONE, PROP_UNIT_LENGTH, PROP_UNIT_MASS, PROP_UNIT_VELOCITY, RBO_FLAG_DISABLED, RBO_FLAG_KINEMATIC, RBO_FLAG_START_DEACTIVATED, RBO_FLAG_USE_DEACTIVATION, RBO_FLAG_USE_DEFORM, RBO_FLAG_USE_MARGIN, rigidbody_mesh_source_items, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_default(), 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_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_default(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_enum_rigidbody_object_shape_items, and rna_enum_rigidbody_object_type_items.
Referenced by RNA_def_rigidbody().
|
static |
Definition at line 850 of file rna_rigidbody.c.
References FUNC_USE_REPORTS, NC_SCENE, NULL, PARM_REQUIRED, PROP_BOOLEAN, PROP_EDITABLE, PROP_FLOAT, PROP_ID_REFCOUNT, PROP_ID_SELF_CHECK, PROP_INT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_THICK_WRAP, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RBW_FLAG_MUTED, RBW_FLAG_USE_SPLIT_IMPULSE, RNA_def_float_vector(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_output(), RNA_def_function_ui_description(), RNA_def_int(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_def_property_float_default(), RNA_def_property_float_sdna(), RNA_def_property_int_default(), RNA_def_property_int_funcs(), 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_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_rigidbody().
|
static |
Definition at line 124 of file rna_rigidbody.c.
Referenced by rna_def_rigidbody_object().
|
static |
Definition at line 108 of file rna_rigidbody.c.
Referenced by rna_def_rigidbody_constraint().
const EnumPropertyItem rna_enum_rigidbody_constraint_type_items[] |
Definition at line 75 of file rna_rigidbody.c.
Referenced by RIGIDBODY_OT_constraint_add(), and rna_def_rigidbody_constraint().
const EnumPropertyItem rna_enum_rigidbody_object_shape_items[] |
Definition at line 44 of file rna_rigidbody.c.
Referenced by RIGIDBODY_OT_shape_change(), and rna_def_rigidbody_object().
const EnumPropertyItem rna_enum_rigidbody_object_type_items[] |
Definition at line 29 of file rna_rigidbody.c.
Referenced by RIGIDBODY_OT_object_add(), RIGIDBODY_OT_objects_add(), and rna_def_rigidbody_object().