unreal.HairShadowSettings

class unreal.HairShadowSettings(hair_shadow_density=1.0, hair_raytracing_radius_scale=1.0, use_hair_raytracing_geometry=False, voxelize=True)

Bases: unreal.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

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

Type

(float)

property hair_shadow_density

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

Type

(float)

property use_hair_raytracing_geometry

[Read-Write] Enable hair strands geomtry for raytracing

Type

(bool)

property voxelize

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

Type

(bool)