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] Hair Raytracing Radius Scale: Scale the hair geometry radius for ray tracing effects (e.g. shadow)

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

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

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

property hair_raytracing_radius_scale: float

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

Type:

(float)

property hair_shadow_density: float

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

Type:

(float)

property use_hair_raytracing_geometry: bool

[Read-Write] Use Hair Raytracing Geometry: Enable hair strands geomtry for raytracing

Type:

(bool)

property voxelize: bool

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

Type:

(bool)