MaterialStrand(bpy_struct)

base class — bpy_struct

class bpy.types.MaterialStrand(bpy_struct)

Strand settings for a Material datablock

blend_distance

Worldspace distance over which to blend in the surface normal

Type :float in [0, 10], default 0.0
root_size

Start size of strands in pixels or Blender units

Type :float in [0, inf], default 0.0
shape

Positive values make strands rounder, negative ones make strands spiky

Type :float in [-0.9, 0.9], default 0.0
size_min

Minimum size of strands in pixels

Type :float in [0.001, 10], default 0.0
tip_size

End size of strands in pixels or Blender units

Type :float in [0, inf], default 0.0
use_blender_units

Use Blender units for widths instead of pixels

Type :boolean, default False
use_surface_diffuse

Make diffuse shading more similar to shading the surface

Type :boolean, default False, (readonly)
use_tangent_shading

Use direction of strands as normal for tangent-shading

Type :boolean, default False
uv_layer

Name of UV map to override

Type :string, default “”
width_fade

Transparency along the width of the strand

Type :float in [0, 2], default 0.0

Inherited Properties

Inherited Functions

References

Previous topic

MaterialSlot(bpy_struct)

Next topic

MaterialSubsurfaceScattering(bpy_struct)