unreal.HairShadowSettings

class unreal.HairShadowSettings(hair_shadow_density: float = 0.0, hair_raytracing_radius_scale: float = 0.0, use_hair_raytracing_geometry: bool = False, voxelize: bool = False)

Bases: StructBase

Hair Shadow Settings

C++ Source:

  • Plugin: HairStrands

  • Module: HairStrandsCore

  • File: GroomAssetRendering.h

Editor Properties: (see get_editor_property/set_editor_property)

  • hair_raytracing_radius_scale (float): [Read-Write] Scale the hair geometry radius for ray tracing effects (e.g. shadow)

  • hair_shadow_density (float): [Read-Write] Override the hair shadow density factor (unit less).

  • use_hair_raytracing_geometry (bool): [Read-Write] Enable hair strands geomtry for raytracing

  • voxelize (bool): [Read-Write] Enable stands voxelize for casting shadow and environment occlusion

property hair_raytracing_radius_scale: float

[Read-Write] Scale the hair geometry radius for ray tracing effects (e.g. shadow)

Type:

(float)

property hair_shadow_density: float

[Read-Write] Override the hair shadow density factor (unit less).

Type:

(float)

property use_hair_raytracing_geometry: bool

[Read-Write] Enable hair strands geomtry for raytracing

Type:

(bool)

property voxelize: bool

[Read-Write] Enable stands voxelize for casting shadow and environment occlusion

Type:

(bool)