|
Blender V5.0
|
#include "BLI_rect.h"#include "DNA_ID.h"#include "DNA_colorband_types.h"#include "DNA_listBase.h"#include "DNA_theme_types.h"#include "DNA_userdef_enums.h"Go to the source code of this file.
Classes | |
| struct | bAddon |
| struct | bPathCompare |
| struct | bUserMenu |
| struct | bUserMenuItem |
| struct | bUserMenuItem_Op |
| struct | bUserMenuItem_Menu |
| struct | bUserMenuItem_Prop |
| struct | bUserAssetLibrary |
| struct | bUserExtensionRepo |
| struct | SolidLight |
| struct | WalkNavigation |
| struct | XrNavigation |
| struct | UserDef_Runtime |
| struct | UserDef_SpaceData |
| struct | UserDef_FileSpaceData |
| struct | UserDef_TempWinBounds |
| struct | UserDef_Experimental |
| struct | bUserScriptDirectory |
| struct | bUserAssetShelfSettings |
| struct | UserDef |
Macros | |
| #define | USER_EXPERIMENTAL_TEST(userdef, member) |
| #define | USER_DEVELOPER_TOOL_TEST(userdef, member) |
| #define | FRAMENUMBER_MIN_CLAMP(cfra) |
| #define | NDOF_IS_ORBIT_AROUND_CENTER_MODE(userdef) |
| #define | NDOF_PIXELS_PER_SECOND 600.0f |
Variables | |
| UserDef | U |
| #define FRAMENUMBER_MIN_CLAMP | ( | cfra | ) |
Definition at line 738 of file DNA_userdef_types.h.
Referenced by change_frame_apply(), change_frame_apply(), change_frame_apply(), frame_offset_exec(), graphview_cursor_apply(), previewrange_define_exec(), and blender::ed::vse::sync_active_scene_and_time_with_scene_strip().
| #define NDOF_IS_ORBIT_AROUND_CENTER_MODE | ( | userdef | ) |
Some navigation modes make use of "Auto Center" (NDOF_ORBIT_CENTER_AUTO) and some don't. Instead of testing against all possibilities use a macro.
TODO: Add Target Camera Mode when implemented.
Definition at line 1094 of file DNA_userdef_types.h.
Referenced by view3d_draw_region_info().
| #define NDOF_PIXELS_PER_SECOND 600.0f |
Definition at line 1097 of file DNA_userdef_types.h.
| #define USER_DEVELOPER_TOOL_TEST | ( | userdef, | |
| member ) |
Definition at line 249 of file DNA_userdef_types.h.
Referenced by blender::draw::Manager::compute_visibility(), file_refresh(), get_blend_file_header(), blender::bke::liboverride::is_auto_resync_enabled(), memfile_undosys_step_decode(), blender::ed::asset::list::AssetList::setup(), write_bhead(), write_file_handle(), writedata(), and writestruct_at_address_nr().
| #define USER_EXPERIMENTAL_TEST | ( | userdef, | |
| member ) |
Definition at line 247 of file DNA_userdef_types.h.
Referenced by blender::ed::space_node::draw_nodetree(), ED_node_supports_preview(), ED_paint_shading_color_override(), blender::ed::asset::id_type_is_supported(), material_paint_slot_filter(), blender::ed::space_node::node_draw_basis(), blender::ed::space_node::node_is_previewable(), sculpt_needs_pbvh_pixels(), sculpt_update_object(), SCULPT_use_image_paint_brush(), and blender::ed::asset::types_supported_as_filter_flags().
| typedef struct bAddon bAddon |
| typedef struct bPathCompare bPathCompare |
| typedef struct bUserAssetLibrary bUserAssetLibrary |
| typedef struct bUserAssetShelfSettings bUserAssetShelfSettings |
Settings for an asset shelf, stored in the Preferences. Most settings are still stored in the asset shelf instance in AssetShelfSettings. This is just for the options that should be shared as Preferences.
| typedef struct bUserExtensionRepo bUserExtensionRepo |
| typedef struct bUserMenu bUserMenu |
| typedef struct bUserMenuItem_Menu bUserMenuItem_Menu |
| typedef struct bUserMenuItem_Op bUserMenuItem_Op |
| typedef struct bUserMenuItem_Prop bUserMenuItem_Prop |
| typedef struct bUserScriptDirectory bUserScriptDirectory |
Container to store multiple directory paths and a name for each as a ListBase.
Auto-Keying mode. UserDef.autokey_mode
Color Picker Types. UserDef.color_picker_type
Grease Pencil Settings. UserDef.gp_settings
Defines how keyframes are inserted. Used for regular keying and auto-keying. Not all of those flags are stored in the user preferences (U.keying_flag). Some are stored on the scene (toolsettings.keying_flag).
UserDef.ogl_multisamples
| typedef enum eNdof_Flag eNdof_Flag |
UserDef.ndof_flag (3D mouse options)
NDOF Navigation Modes. Each mode describes some style of navigation rather than control a single aspect of navigation.
Text draw options UserDef.text_render
Text Editor options UserDef.text_flag
Time-code display styles. UserDef.timecode_style
The source to use (User or System), only valid when the USER_EXTENSION_REPO_FLAG_USE_REMOTE_URL flag isn't set.
Animation flags UserDef.animation_flag, used for animation flags that aren't covered by more specific flags (like eKeying_Flag).
UserDef_SpaceData.section_active (UI active_section)
UserDef_SpaceData.flag (State of the user preferences UI).
#UserDef.xr_navigation_flag
Zoom to frame mode. UserDef.view_frame_type
| typedef struct SolidLight SolidLight |
| typedef struct UserDef UserDef |
Main user preferences data, typically accessed from U. See: BKE_blendfile_userdef_from_defaults & BKE_blendfile_userdef_read.
| typedef struct UserDef_Experimental UserDef_Experimental |
Checking experimental members must use either the USER_EXPERIMENTAL_TEST() macro or the USER_DEVELOPER_TOOL_TEST() macro.
| typedef struct UserDef_FileSpaceData UserDef_FileSpaceData |
Storage for UI data that to keep it even after the window was closed. (Similar to UserDef_SpaceData.)
| typedef struct UserDef_Runtime UserDef_Runtime |
| typedef struct UserDef_SpaceData UserDef_SpaceData |
Store UI data here instead of the space since the space is typically a window which is freed.
| typedef struct UserDef_TempWinBounds UserDef_TempWinBounds |
| typedef struct WalkNavigation WalkNavigation |
| typedef struct XrNavigation XrNavigation |
| anonymous enum |
| Enumerator | |
|---|---|
| USER_GIZMO_DRAW | |
Definition at line 992 of file DNA_userdef_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| ULANGUAGE_AUTO | |
| ULANGUAGE_ENGLISH | |
Definition at line 1178 of file DNA_userdef_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| USER_MENU_TYPE_SEP | |
| USER_MENU_TYPE_OPERATOR | |
| USER_MENU_TYPE_MENU | |
| USER_MENU_TYPE_PROP | |
Definition at line 78 of file DNA_userdef_types.h.
| enum eAutokey_Mode |
Auto-Keying mode. UserDef.autokey_mode
| Enumerator | |
|---|---|
| AUTOKEY_ON | |
| AUTOKEY_MODE_NORMAL | AUTOKEY_ON + 2**n... (i.e. AUTOKEY_MODE_NORMAL = AUTOKEY_ON + 2) to preserve setting, even when auto-key turned off. |
| AUTOKEY_MODE_EDITKEYS | |
Definition at line 879 of file DNA_userdef_types.h.
| enum eColorPicker_Types |
Color Picker Types. UserDef.color_picker_type
| Enumerator | |
|---|---|
| USER_CP_CIRCLE_HSV | |
| USER_CP_SQUARE_SV | |
| USER_CP_SQUARE_HS | |
| USER_CP_SQUARE_HV | |
| USER_CP_CIRCLE_HSL | |
Definition at line 1000 of file DNA_userdef_types.h.
| enum eFixToCam_Flags |
| Enumerator | |
|---|---|
| FIX_TO_CAM_FLAG_USE_LOC | |
| FIX_TO_CAM_FLAG_USE_ROT | |
| FIX_TO_CAM_FLAG_USE_SCALE | |
Definition at line 943 of file DNA_userdef_types.h.
| enum eGP_UserdefSettings |
Grease Pencil Settings. UserDef.gp_settings
| Enumerator | |
|---|---|
| GP_PAINT_UNUSED_0 | |
Definition at line 988 of file DNA_userdef_types.h.
| enum eImageDrawMethod |
| Enumerator | |
|---|---|
| IMAGE_DRAW_METHOD_AUTO | |
| IMAGE_DRAW_METHOD_GLSL | |
| IMAGE_DRAW_METHOD_2DTEXTURE | |
Definition at line 1109 of file DNA_userdef_types.h.
| enum eKeying_Flag |
Defines how keyframes are inserted. Used for regular keying and auto-keying. Not all of those flags are stored in the user preferences (U.keying_flag). Some are stored on the scene (toolsettings.keying_flag).
Definition at line 907 of file DNA_userdef_types.h.
| enum eKeyInsertChannels |
| Enumerator | |
|---|---|
| USER_ANIM_KEY_CHANNEL_LOCATION | |
| USER_ANIM_KEY_CHANNEL_ROTATION | |
| USER_ANIM_KEY_CHANNEL_SCALE | |
| USER_ANIM_KEY_CHANNEL_ROTATION_MODE | |
| USER_ANIM_KEY_CHANNEL_CUSTOM_PROPERTIES | |
Definition at line 924 of file DNA_userdef_types.h.
| enum eMultiSample_Type |
UserDef.ogl_multisamples
| Enumerator | |
|---|---|
| USER_MULTISAMPLE_NONE | |
| USER_MULTISAMPLE_2 | |
| USER_MULTISAMPLE_4 | |
| USER_MULTISAMPLE_8 | |
| USER_MULTISAMPLE_16 | |
Definition at line 1100 of file DNA_userdef_types.h.
| enum eNdof_Flag |
UserDef.ndof_flag (3D mouse options)
| Enumerator | |
|---|---|
| NDOF_SHOW_GUIDE_ORBIT_AXIS | |
| NDOF_FLY_HELICOPTER | |
| NDOF_LOCK_HORIZON | |
| NDOF_SHOULD_PAN | |
| NDOF_SHOULD_ZOOM | |
| NDOF_SHOULD_ROTATE | |
| NDOF_SWAP_YZ_AXIS | When set translation results in zoom being up/down otherwise forward/backward This also swaps Y/Z for rotation. |
| NDOF_ROTX_INVERT_AXIS | |
| NDOF_ROTY_INVERT_AXIS | |
| NDOF_ROTZ_INVERT_AXIS | |
| NDOF_PANX_INVERT_AXIS | |
| NDOF_PANY_INVERT_AXIS | |
| NDOF_PANZ_INVERT_AXIS | |
| NDOF_TURNTABLE | |
| NDOF_CAMERA_PAN_ZOOM | |
| NDOF_ORBIT_CENTER_AUTO | |
| NDOF_ORBIT_CENTER_SELECTED | |
| NDOF_SHOW_GUIDE_ORBIT_CENTER | |
| NDOF_FLY_SPEED_AUTO | Must only be used when !NDOF_IS_ORBIT_AROUND_CENTER_MODE(&U). |
Definition at line 1034 of file DNA_userdef_types.h.
NDOF Navigation Modes. Each mode describes some style of navigation rather than control a single aspect of navigation.
Definition at line 1071 of file DNA_userdef_types.h.
| enum ePathCompare_Flag |
| enum eText_Draw_Options |
Text draw options UserDef.text_render
| Enumerator | |
|---|---|
| USER_TEXT_DISABLE_AA | |
| USER_TEXT_HINTING_NONE | |
| USER_TEXT_HINTING_SLIGHT | |
| USER_TEXT_HINTING_FULL | |
| USER_TEXT_RENDER_SUBPIXELAA | |
Definition at line 974 of file DNA_userdef_types.h.
| enum eTextEdit_Flags |
Text Editor options UserDef.text_flag
| Enumerator | |
|---|---|
| USER_TEXT_EDIT_AUTO_CLOSE | |
Definition at line 966 of file DNA_userdef_types.h.
| enum eTimecodeStyles |
Time-code display styles. UserDef.timecode_style
Definition at line 1012 of file DNA_userdef_types.h.
Definition at line 132 of file DNA_userdef_types.h.
The source to use (User or System), only valid when the USER_EXTENSION_REPO_FLAG_USE_REMOTE_URL flag isn't set.
| Enumerator | |
|---|---|
| USER_EXTENSION_REPO_SOURCE_USER | |
| USER_EXTENSION_REPO_SOURCE_SYSTEM | |
Definition at line 146 of file DNA_userdef_types.h.
| enum eUserpref_Anim_Flags |
Animation flags UserDef.animation_flag, used for animation flags that aren't covered by more specific flags (like eKeying_Flag).
| Enumerator | |
|---|---|
| USER_ANIM_SHOW_CHANNEL_GROUP_COLORS | |
| USER_ANIM_ONLY_SHOW_SELECTED_CURVE_KEYS | |
| USER_ANIM_HIGH_QUALITY_DRAWING | |
Definition at line 937 of file DNA_userdef_types.h.
| enum eUserpref_APP_Flag |
| Enumerator | |
|---|---|
| USER_APP_LOCK_CORNER_SPLIT | |
| USER_APP_HIDE_REGION_TOGGLE | |
| USER_APP_LOCK_EDGE_RESIZE | |
Definition at line 859 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_SEQ_DISK_CACHE_COMPRESSION_NONE | |
| USER_SEQ_DISK_CACHE_COMPRESSION_LOW | |
| USER_SEQ_DISK_CACHE_COMPRESSION_HIGH | |
Definition at line 1155 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_EMU_MMB_MOD_ALT | |
| USER_EMU_MMB_MOD_OSKEY | |
Definition at line 1145 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_EXTENSION_FLAG_ONLINE_ACCESS_HANDLED | |
Definition at line 716 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_FACTOR_AS_FACTOR | |
| USER_FACTOR_AS_PERCENTAGE | |
Definition at line 1122 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_FILE_PREVIEW_NONE | |
| USER_FILE_PREVIEW_AUTO | |
| USER_FILE_PREVIEW_SCREENSHOT | |
| USER_FILE_PREVIEW_CAMERA | |
Definition at line 721 of file DNA_userdef_types.h.
| enum eUserPref_Flag |
Definition at line 684 of file DNA_userdef_types.h.
| enum eUserpref_GPU_Flag |
| Enumerator | |
|---|---|
| USER_GPU_FLAG_UNUSED_0 | |
| USER_GPU_FLAG_NO_EDIT_MODE_SMOOTH_WIRE | |
| USER_GPU_FLAG_OVERLAY_SMOOTH_WIRE | |
| USER_GPU_FLAG_SUBDIVISION_EVALUATION | |
| USER_GPU_FLAG_FRESNEL_EDIT | |
Definition at line 830 of file DNA_userdef_types.h.
UserDef.gpu_backend NOTE: Keep in sync with GPUBackendType.
| Enumerator | |
|---|---|
| USER_GPU_BACKEND_OPENGL | |
| USER_GPU_BACKEND_METAL | |
| USER_GPU_BACKEND_VULKAN | |
| USER_GPU_BACKEND_DEFAULT | |
Definition at line 840 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_MINI_AXIS_TYPE_GIZMO | |
| USER_MINI_AXIS_TYPE_MINIMAL | |
| USER_MINI_AXIS_TYPE_NONE | |
Definition at line 763 of file DNA_userdef_types.h.
| enum eUserPref_PrefFlag |
| Enumerator | |
|---|---|
| USER_PREF_FLAG_SAVE | |
Definition at line 728 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_RENDER_DISPLAY_NONE | |
| USER_RENDER_DISPLAY_SCREEN | |
| USER_RENDER_DISPLAY_AREA | |
| USER_RENDER_DISPLAY_WINDOW | |
Definition at line 1133 of file DNA_userdef_types.h.
| enum eUserPref_Section |
UserDef_SpaceData.section_active (UI active_section)
Definition at line 652 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_SEQ_ED_UNUSED_0 | |
| USER_SEQ_ED_CONNECT_STRIPS_BY_DEFAULT | |
Definition at line 1166 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_SEQ_PROXY_SETUP_MANUAL | |
| USER_SEQ_PROXY_SETUP_AUTOMATIC | |
Definition at line 1161 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_SHADER_COMPILE_THREAD | |
| USER_SHADER_COMPILE_SUBPROCESS | |
Definition at line 1171 of file DNA_userdef_types.h.
UserDef_SpaceData.flag (State of the user preferences UI).
| Enumerator | |
|---|---|
| USER_SPACEDATA_INPUT_HIDE_UI_KEYCONFIG | Hide/expand key-map preferences. |
| USER_SPACEDATA_ADDONS_SHOW_ONLY_ENABLED | |
Definition at line 677 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| STATUSBAR_SHOW_MEMORY | |
| STATUSBAR_SHOW_VRAM | |
| STATUSBAR_SHOW_STATS | |
| STATUSBAR_SHOW_VERSION | |
| STATUSBAR_SHOW_SCENE_DURATION | |
| STATUSBAR_SHOW_EXTENSIONS_UPDATES | |
Definition at line 866 of file DNA_userdef_types.h.
| enum eUserpref_TableAPI |
| Enumerator | |
|---|---|
| USER_TABLET_AUTOMATIC | |
| USER_TABLET_NATIVE | |
| USER_TABLET_WINTAB | |
Definition at line 852 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_TEMP_SPACE_DISPLAY_FULLSCREEN | |
| USER_TEMP_SPACE_DISPLAY_WINDOW | |
Definition at line 1140 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_TRACKPAD_SCROLL_DIR_TRADITIONAL | |
| USER_TRACKPAD_SCROLL_DIR_NATURAL | |
Definition at line 1150 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_TR_TOOLTIPS | |
| USER_TR_IFACE | |
| USER_TR_REPORTS | |
| USER_TR_UNUSED_3 | |
| USER_TR_UNUSED_4 | |
| USER_DOTRANSLATE_DEPRECATED | |
| USER_TR_UNUSED_6 | |
| USER_TR_UNUSED_7 | |
| USER_TR_NEWDATANAME | |
Definition at line 950 of file DNA_userdef_types.h.
| enum eUserpref_UI_Flag |
Definition at line 776 of file DNA_userdef_types.h.
| enum eUserpref_UI_Flag2 |
| Enumerator | |
|---|---|
| USER_ALWAYS_SHOW_NUMBER_ARROWS | |
| USER_REGION_OVERLAP | |
| USER_UIFLAG2_UNUSED_2 | |
| USER_UIFLAG2_UNUSED_3 | |
Definition at line 822 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| VIRTUAL_PIXEL_NATIVE | |
| VIRTUAL_PIXEL_DOUBLE | |
Definition at line 1116 of file DNA_userdef_types.h.
#UserDef.xr_navigation_flag
| Enumerator | |
|---|---|
| USER_XR_NAV_SNAP_TURN | |
| USER_XR_NAV_INVERT_ROTATION | |
Definition at line 1128 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| VIEW_NAVIGATION_WALK | |
| VIEW_NAVIGATION_FLY | |
Definition at line 757 of file DNA_userdef_types.h.
| enum eViewZoom_Style |
| Enumerator | |
|---|---|
| USER_ZOOM_CONTINUE | Update zoom continuously with a timer while dragging the cursor. |
| USER_ZOOM_SCALE | Map changes in distance from the view center to zoom. |
| USER_ZOOM_DOLLY | Map horizontal/vertical motion to zoom. |
Definition at line 747 of file DNA_userdef_types.h.
| enum eWalkNavigation_Flag |
| Enumerator | |
|---|---|
| USER_WALK_GRAVITY | |
| USER_WALK_MOUSE_REVERSE | |
Definition at line 770 of file DNA_userdef_types.h.
| enum eZoomFrame_Mode |
Zoom to frame mode. UserDef.view_frame_type
| Enumerator | |
|---|---|
| ZOOM_FRAME_MODE_KEEP_RANGE | |
| ZOOM_FRAME_MODE_SECONDS | |
| ZOOM_FRAME_MODE_KEYFRAMES | |
Definition at line 895 of file DNA_userdef_types.h.
|
extern |
From source/blender/blenkernel/intern/blender.cc.
Definition at line 57 of file blender.cc.