Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_view3d_types.h
| Show First 20 Lines • Show All 217 Lines • ▼ Show 20 Lines | typedef struct View3DOverlay { | ||||
| /** Other settings. */ | /** Other settings. */ | ||||
| float wireframe_threshold; | float wireframe_threshold; | ||||
| /** Grease pencil settings. */ | /** Grease pencil settings. */ | ||||
| float gpencil_paper_opacity; | float gpencil_paper_opacity; | ||||
| float gpencil_grid_opacity; | float gpencil_grid_opacity; | ||||
| float gpencil_fade_layer; | float gpencil_fade_layer; | ||||
| /** Factor for mixing vertex paint with original color */ | |||||
| float gpencil_vertex_paint_opacity; | |||||
| char _pad4[4]; | |||||
| } View3DOverlay; | } View3DOverlay; | ||||
| typedef struct View3D_Runtime { | typedef struct View3D_Runtime { | ||||
| /** Nkey panel stores stuff here. */ | /** Nkey panel stores stuff here. */ | ||||
| void *properties_storage; | void *properties_storage; | ||||
| } View3D_Runtime; | } View3D_Runtime; | ||||
| /** 3D ViewPort Struct. */ | /** 3D ViewPort Struct. */ | ||||
| ▲ Show 20 Lines • Show All 175 Lines • ▼ Show 20 Lines | |||||
| #define V3D_FLAG2_UNUSED_10 (1 << 10) /* cleared */ | #define V3D_FLAG2_UNUSED_10 (1 << 10) /* cleared */ | ||||
| #define V3D_RENDER_BORDER (1 << 11) | #define V3D_RENDER_BORDER (1 << 11) | ||||
| #define V3D_FLAG2_UNUSED_12 (1 << 12) /* cleared */ | #define V3D_FLAG2_UNUSED_12 (1 << 12) /* cleared */ | ||||
| #define V3D_FLAG2_UNUSED_13 (1 << 13) /* cleared */ | #define V3D_FLAG2_UNUSED_13 (1 << 13) /* cleared */ | ||||
| #define V3D_FLAG2_UNUSED_14 (1 << 14) /* cleared */ | #define V3D_FLAG2_UNUSED_14 (1 << 14) /* cleared */ | ||||
| #define V3D_FLAG2_UNUSED_15 (1 << 15) /* cleared */ | #define V3D_FLAG2_UNUSED_15 (1 << 15) /* cleared */ | ||||
| /** #View3D.gp_flag (short) */ | /** #View3D.gp_flag (short) */ | ||||
| #define V3D_GP_SHOW_PAPER (1 << 0) /* Activate paper to cover all viewport */ | #define V3D_GP_FADE_OBJECTS (1 << 0) /* Fade all non GP objects */ | ||||
| #define V3D_GP_SHOW_GRID (1 << 1) /* Activate paper grid */ | #define V3D_GP_SHOW_GRID (1 << 1) /* Activate paper grid */ | ||||
| #define V3D_GP_SHOW_EDIT_LINES (1 << 2) | #define V3D_GP_SHOW_EDIT_LINES (1 << 2) | ||||
| #define V3D_GP_SHOW_MULTIEDIT_LINES (1 << 3) | #define V3D_GP_SHOW_MULTIEDIT_LINES (1 << 3) | ||||
| #define V3D_GP_SHOW_ONION_SKIN (1 << 4) /* main switch at view level */ | #define V3D_GP_SHOW_ONION_SKIN (1 << 4) /* main switch at view level */ | ||||
| #define V3D_GP_FADE_NOACTIVE_LAYERS (1 << 5) /* fade layers not active */ | #define V3D_GP_FADE_NOACTIVE_LAYERS (1 << 5) /* fade layers not active */ | ||||
| #define V3D_GP_FADE_NOACTIVE_GPENCIL (1 << 6) /* Fade other GPencil objects */ | #define V3D_GP_FADE_NOACTIVE_GPENCIL (1 << 6) /* Fade other GPencil objects */ | ||||
| #define V3D_GP_SHOW_STROKE_DIRECTION (1 << 7) /* Show Strokes Directions */ | |||||
| #define V3D_GP_SHOW_MATERIAL_NAME (1 << 8) /* Show Material names */ | |||||
| /** #View3DShading.light */ | /** #View3DShading.light */ | ||||
| enum { | enum { | ||||
| V3D_LIGHTING_FLAT = 0, | V3D_LIGHTING_FLAT = 0, | ||||
| V3D_LIGHTING_STUDIO = 1, | V3D_LIGHTING_STUDIO = 1, | ||||
| V3D_LIGHTING_MATCAP = 2, | V3D_LIGHTING_MATCAP = 2, | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines | |||||