|
Blender V5.3
|
#include <DNA_material_types.h>
Definition at line 283 of file DNA_material_types.h.
| char blender::MaterialGPencilStyle::_pad2[4] = {} |
Definition at line 310 of file DNA_material_types.h.
| char blender::MaterialGPencilStyle::_pad3[4] = {} |
Definition at line 355 of file DNA_material_types.h.
| eMaterialGPencilStyle_FollowMode blender::MaterialGPencilStyle::alignment_mode = GP_MATERIAL_FOLLOW_PATH |
Mode used to align Dots and Boxes with stroke drawing path and object rotation
Definition at line 334 of file DNA_material_types.h.
Referenced by blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::alignment_rotation = 0 |
Rotation for texture for Dots and Squares.
Definition at line 336 of file DNA_material_types.h.
Referenced by blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::fill_rgba[4] = {} |
Color that should be used for drawing "fills" for strokes (alpha included).
Definition at line 293 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), blender::blo_do_versions_280(), blender::io::grease_pencil::GreasePencilImporter::create_material(), blender::do_versions_after_linking_501(), blender::ui::greasepencil::eyedropper_add_material(), blender::draw::gpencil::gpencil_material_pool_create(), blender::draw::gpencil::gpencil_viewport_material_overrides(), blender::modify_fill_color(), and blender::modify_fill_color().
| eMaterialGPencilStyle_FillStyle blender::MaterialGPencilStyle::fill_style = GP_MATERIAL_FILL_STYLE_SOLID |
Style for filling areas (used to select shader type).
Definition at line 303 of file DNA_material_types.h.
Referenced by blender::blo_do_versions_280(), blender::draw::gpencil::gpencil_material_pool_create(), and blender::draw::gpencil::gpencil_viewport_material_overrides().
| eMaterialGPencilStyle_Flag blender::MaterialGPencilStyle::flag = {} |
Definition at line 297 of file DNA_material_types.h.
Referenced by blender::blo_do_versions_280(), blender::do_versions_after_linking_501(), blender::draw::overlay::GreasePencil::draw_grease_pencil(), blender::ed::greasepencil::get_visible_boundary_strokes(), blender::draw::gpencil::gpencil_material_pool_create(), 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(), blender::ed::greasepencil::material_isolate_exec(), and blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::skip_strokes_with_locked_material().
Color gradient.
Definition at line 358 of file DNA_material_types.h.
Referenced by blender::draw::gpencil::gpencil_material_pool_create().
| DNA_DEPRECATED float blender::MaterialGPencilStyle::gradient_angle = 0 |
Angle used for gradients orientation.
Definition at line 307 of file DNA_material_types.h.
Referenced by blender::blo_do_versions_280().
| DNA_DEPRECATED float blender::MaterialGPencilStyle::gradient_radius = 0 |
Radius for radial gradients.
Definition at line 309 of file DNA_material_types.h.
| DNA_DEPRECATED float blender::MaterialGPencilStyle::gradient_scale[2] = {} |
UV coordinates scale.
Definition at line 312 of file DNA_material_types.h.
Referenced by blender::blo_do_versions_280().
| DNA_DEPRECATED float blender::MaterialGPencilStyle::gradient_shift[2] = {} |
Factor to shift filling in 2d space.
Definition at line 314 of file DNA_material_types.h.
Referenced by blender::blo_do_versions_280().
| eMaterialGPencilStyle_GradientType blender::MaterialGPencilStyle::gradient_type = GP_MATERIAL_GRADIENT_LINEAR |
Type of gradient.
Definition at line 329 of file DNA_material_types.h.
Referenced by blender::draw::gpencil::gpencil_material_pool_create(), and blender::ed::greasepencil::grease_pencil_texture_gradient_exec().
Texture image for filling.
Definition at line 289 of file DNA_material_types.h.
Referenced by blender::draw::gpencil::gpencil_material_pool_create(), and blender::draw::gpencil::gpencil_viewport_material_overrides().
| short blender::MaterialGPencilStyle::index = 0 |
Pass index (only used for modifiers to restrict their influence).
Definition at line 299 of file DNA_material_types.h.
| float blender::MaterialGPencilStyle::mix_factor = 0 |
Factor used to define shader behavior (several uses).
Definition at line 305 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), blender::draw::gpencil::gpencil_material_pool_create(), and blender::draw::gpencil::gpencil_viewport_material_overrides().
| float blender::MaterialGPencilStyle::mix_rgba[4] = {} |
Secondary color used for gradients and other stuff.
Definition at line 295 of file DNA_material_types.h.
| float blender::MaterialGPencilStyle::mix_stroke_factor = 0 |
Factor used to mix texture and stroke color.
Definition at line 332 of file DNA_material_types.h.
Referenced by blender::blo_do_versions_280(), blender::draw::gpencil::gpencil_material_pool_create(), and blender::draw::gpencil::gpencil_viewport_material_overrides().
| eMaterialGPencilStyle_Mode blender::MaterialGPencilStyle::mode = GP_MATERIAL_MODE_LINE |
Drawing mode (line or dots).
Definition at line 326 of file DNA_material_types.h.
Referenced by blender::draw::gpencil::gpencil_material_pool_create(), and blender::draw::grease_pencil_geom_batch_ensure().
| int blender::MaterialGPencilStyle::placement_count = 0 |
Definition at line 340 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), blender::draw::gpencil::gpencil_material_pool_create(), and blender::draw::grease_pencil_geom_batch_ensure().
| float blender::MaterialGPencilStyle::placement_density = 0 |
Definition at line 344 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
| eMaterialGPencilPlacementMode blender::MaterialGPencilStyle::placement_mode = GP_MATERIAL_PLACEMENT_COUNT |
Placement mode for Dots and Squares.
Definition at line 338 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), blender::draw::gpencil::gpencil_material_pool_create(), and blender::draw::grease_pencil_geom_batch_ensure().
| float blender::MaterialGPencilStyle::placement_radius_spacing = 0 |
Definition at line 342 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::random_hue_factor = 0 |
Definition at line 350 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::random_noise_scale = 0 |
Definition at line 354 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::random_rotation_factor = 0 |
Definition at line 348 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::random_saturation_factor = 0 |
Definition at line 351 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::random_size_factor = 0 |
Definition at line 346 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::random_strength_factor = 0 |
Definition at line 347 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::random_value_factor = 0 |
Definition at line 352 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
Texture image for strokes.
Definition at line 287 of file DNA_material_types.h.
Referenced by blender::draw::gpencil::gpencil_material_pool_create(), and blender::draw::gpencil::gpencil_viewport_material_overrides().
| float blender::MaterialGPencilStyle::stroke_rgba[4] = {} |
Color for paint and strokes (alpha included).
Definition at line 291 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), blender::blo_do_versions_280(), blender::io::grease_pencil::GreasePencilExporter::compute_average_stroke_color(), blender::io::grease_pencil::GreasePencilImporter::create_material(), blender::do_versions_after_linking_501(), blender::ui::greasepencil::eyedropper_add_material(), blender::draw::gpencil::gpencil_material_pool_create(), blender::draw::gpencil::gpencil_viewport_material_overrides(), blender::ed::sculpt_paint::grease_pencil_cursor_draw(), blender::modify_stroke_color(), and blender::modify_stroke_color().
| eMaterialGPencilStyle_StrokeStyle blender::MaterialGPencilStyle::stroke_style = GP_MATERIAL_STROKE_STYLE_SOLID |
Style for drawing strokes (used to select shader type).
Definition at line 301 of file DNA_material_types.h.
Referenced by blender::draw::gpencil::gpencil_material_pool_create(), and blender::draw::gpencil::gpencil_viewport_material_overrides().
| float blender::MaterialGPencilStyle::texture_angle = 0 |
Angle used for texture orientation.
Definition at line 316 of file DNA_material_types.h.
Referenced by blender::blo_do_versions_280(), blender::draw::gpencil::gpencil_material_pool_create(), and blender::ed::greasepencil::grease_pencil_texture_gradient_exec().
| float blender::MaterialGPencilStyle::texture_offset[2] = {} |
Factor to shift texture in 2d space.
Definition at line 320 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), blender::blo_do_versions_280(), blender::draw::gpencil::gpencil_material_pool_create(), and blender::ed::greasepencil::grease_pencil_texture_gradient_exec().
| DNA_DEPRECATED float blender::MaterialGPencilStyle::texture_opacity = 0 |
Texture opacity.
Definition at line 322 of file DNA_material_types.h.
Referenced by blender::blo_do_versions_280().
| float blender::MaterialGPencilStyle::texture_pixsize = 0 |
Pixel size for uv along the stroke.
Definition at line 324 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), and blender::draw::gpencil::gpencil_material_pool_create().
| float blender::MaterialGPencilStyle::texture_scale[2] = {} |
Texture scale (separated of uv scale).
Definition at line 318 of file DNA_material_types.h.
Referenced by blender::BKE_gpencil_material_attr_init(), blender::blo_do_versions_280(), blender::draw::gpencil::gpencil_material_pool_create(), and blender::ed::greasepencil::grease_pencil_texture_gradient_exec().