|
Blender V4.3
|
#include <DNA_material_types.h>
Public Attributes | |
| struct Image * | sima |
| struct Image * | ima |
| float | stroke_rgba [4] |
| float | fill_rgba [4] |
| float | mix_rgba [4] |
| short | flag |
| short | index |
| short | stroke_style |
| short | fill_style |
| float | mix_factor |
| float gradient_angle | DNA_DEPRECATED |
| float gradient_radius | DNA_DEPRECATED |
| char | _pad2 [4] |
| float gradient_scale[2] | DNA_DEPRECATED |
| float gradient_shift[2] | DNA_DEPRECATED |
| float | texture_angle |
| float | texture_scale [2] |
| float | texture_offset [2] |
| float texture_opacity | DNA_DEPRECATED |
| float | texture_pixsize |
| int | mode |
| int | gradient_type |
| float | mix_stroke_factor |
| int | alignment_mode |
| float | alignment_rotation |
Definition at line 49 of file DNA_material_types.h.
| char MaterialGPencilStyle::_pad2[4] |
Definition at line 76 of file DNA_material_types.h.
| int MaterialGPencilStyle::alignment_mode |
Mode used to align Dots and Boxes with stroke drawing path and object rotation
Definition at line 100 of file DNA_material_types.h.
Referenced by gpencil_material_pool_create().
| float MaterialGPencilStyle::alignment_rotation |
Rotation for texture for Dots and Squares.
Definition at line 102 of file DNA_material_types.h.
Referenced by gpencil_material_pool_create().
| float gradient_angle MaterialGPencilStyle::DNA_DEPRECATED |
Angle used for gradients orientation.
Definition at line 73 of file DNA_material_types.h.
| float gradient_radius MaterialGPencilStyle::DNA_DEPRECATED |
Radius for radial gradients.
Definition at line 75 of file DNA_material_types.h.
| float gradient_scale [2] MaterialGPencilStyle::DNA_DEPRECATED |
UV coordinates scale.
Definition at line 78 of file DNA_material_types.h.
| float gradient_shift [2] MaterialGPencilStyle::DNA_DEPRECATED |
Factor to shift filling in 2d space.
Definition at line 80 of file DNA_material_types.h.
| float texture_opacity MaterialGPencilStyle::DNA_DEPRECATED |
Texture opacity.
Definition at line 88 of file DNA_material_types.h.
| float MaterialGPencilStyle::fill_rgba[4] |
Color that should be used for drawing "fills" for strokes (alpha included).
Definition at line 59 of file DNA_material_types.h.
Referenced by blender::ed::greasepencil::add_material_from_template(), BKE_gpencil_material_attr_init(), blo_do_versions_280(), blender::io::grease_pencil::GreasePencilImporter::create_material(), blender::ui::greasepencil::eyedropper_add_material(), gpencil_material_pool_create(), gpencil_viewport_material_overrides(), blender::modify_fill_color(), and blender::modify_fill_color().
| short MaterialGPencilStyle::fill_style |
Style for filling areas (used to select shader type).
Definition at line 69 of file DNA_material_types.h.
Referenced by blo_do_versions_280(), gpencil_material_pool_create(), and gpencil_viewport_material_overrides().
| short MaterialGPencilStyle::flag |
Settings.
Definition at line 63 of file DNA_material_types.h.
Referenced by blender::ed::greasepencil::add_material_from_template(), BKE_gpencil_material_attr_init(), blo_do_versions_280(), BLO_update_defaults_startup_blend(), blender::io::grease_pencil::GreasePencilImporter::create_material(), blender::draw::overlay::GreasePencil::draw_grease_pencil(), blender::ed::greasepencil::image_render::draw_grease_pencil_strokes(), ED_gpencil_stroke_material_editable(), blender::ui::greasepencil::eyedropper_add_material(), blender::ed::greasepencil::get_boundary_bounds(), blender::ed::greasepencil::get_visible_boundary_strokes(), blender::io::grease_pencil::get_visible_strokes(), gpencil_material_pool_create(), gpencil_object_cache_add(), blender::ed::greasepencil::grease_pencil_material_hide_exec(), blender::ed::greasepencil::grease_pencil_material_lock_all_exec(), blender::ed::greasepencil::grease_pencil_material_lock_unselected_exec(), blender::ed::greasepencil::grease_pencil_material_lock_unused_exec(), blender::ed::greasepencil::grease_pencil_material_reveal_exec(), blender::ed::greasepencil::grease_pencil_material_unlock_all_exec(), grease_pencil_object_cache_populate(), blender::ed::greasepencil::material_isolate_exec(), and OVERLAY_outline_grease_pencil().
| int MaterialGPencilStyle::gradient_type |
Type of gradient.
Definition at line 95 of file DNA_material_types.h.
Referenced by gpencil_material_pool_create(), and blender::ed::greasepencil::grease_pencil_texture_gradient_exec().
| struct Image* MaterialGPencilStyle::ima |
Texture image for filling.
Definition at line 55 of file DNA_material_types.h.
Referenced by gpencil_material_pool_create(), and gpencil_viewport_material_overrides().
| short MaterialGPencilStyle::index |
Custom index for passes.
Definition at line 65 of file DNA_material_types.h.
Referenced by blender::modifier::greasepencil::get_grease_pencil_material_passes().
| float MaterialGPencilStyle::mix_factor |
Factor used to define shader behavior (several uses).
Definition at line 71 of file DNA_material_types.h.
Referenced by BKE_gpencil_material_attr_init(), BLO_update_defaults_startup_blend(), gpencil_material_pool_create(), and gpencil_viewport_material_overrides().
| float MaterialGPencilStyle::mix_rgba[4] |
Secondary color used for gradients and other stuff.
Definition at line 61 of file DNA_material_types.h.
Referenced by BKE_gpencil_material_attr_init(), BLO_update_defaults_startup_blend(), and gpencil_material_pool_create().
| float MaterialGPencilStyle::mix_stroke_factor |
Factor used to mix texture and stroke color.
Definition at line 98 of file DNA_material_types.h.
Referenced by blo_do_versions_280(), gpencil_material_pool_create(), and gpencil_viewport_material_overrides().
| int MaterialGPencilStyle::mode |
Drawing mode (line or dots).
Definition at line 92 of file DNA_material_types.h.
Referenced by BLO_update_defaults_startup_blend(), blender::ed::greasepencil::image_render::draw_grease_pencil_strokes(), and gpencil_material_pool_create().
| struct Image* MaterialGPencilStyle::sima |
Texture image for strokes.
Definition at line 53 of file DNA_material_types.h.
Referenced by gpencil_material_pool_create(), and gpencil_viewport_material_overrides().
| float MaterialGPencilStyle::stroke_rgba[4] |
Color for paint and strokes (alpha included).
Definition at line 57 of file DNA_material_types.h.
Referenced by blender::ed::greasepencil::add_material_from_template(), BKE_gpencil_material_attr_init(), blo_do_versions_280(), blender::io::grease_pencil::GreasePencilExporter::compute_average_stroke_color(), blender::io::grease_pencil::GreasePencilImporter::create_material(), blender::ui::greasepencil::eyedropper_add_material(), gpencil_material_pool_create(), gpencil_viewport_material_overrides(), blender::ed::sculpt_paint::grease_pencil_brush_cursor_draw(), material_default_gpencil_init(), blender::modify_stroke_color(), and blender::modify_stroke_color().
| short MaterialGPencilStyle::stroke_style |
Style for drawing strokes (used to select shader type).
Definition at line 67 of file DNA_material_types.h.
Referenced by gpencil_material_pool_create(), and gpencil_viewport_material_overrides().
| float MaterialGPencilStyle::texture_angle |
Angle used for texture orientation.
Definition at line 82 of file DNA_material_types.h.
Referenced by blo_do_versions_280(), gpencil_material_pool_create(), and blender::ed::greasepencil::grease_pencil_texture_gradient_exec().
| float MaterialGPencilStyle::texture_offset[2] |
Factor to shift texture in 2d space.
Definition at line 86 of file DNA_material_types.h.
Referenced by BKE_gpencil_material_attr_init(), blo_do_versions_280(), BLO_update_defaults_startup_blend(), gpencil_material_pool_create(), and blender::ed::greasepencil::grease_pencil_texture_gradient_exec().
| float MaterialGPencilStyle::texture_pixsize |
Pixel size for uv along the stroke.
Definition at line 90 of file DNA_material_types.h.
Referenced by BKE_gpencil_material_attr_init(), and gpencil_material_pool_create().
| float MaterialGPencilStyle::texture_scale[2] |
Texture scale (separated of uv scale).
Definition at line 84 of file DNA_material_types.h.
Referenced by BKE_gpencil_material_attr_init(), blo_do_versions_280(), gpencil_material_pool_create(), and blender::ed::greasepencil::grease_pencil_texture_gradient_exec().