unreal.HairInterpolationSettings

class unreal.HairInterpolationSettings(override_guides: bool = False, hair_to_guide_density: float = 0.0, interpolation_quality: HairInterpolationQuality = Ellipsis, interpolation_distance: HairInterpolationWeight = Ellipsis, randomize_guide: bool = False, use_unique_guide: bool = False)

Bases: StructBase

Hair Interpolation Settings

C++ Source:

  • Plugin: HairStrands

  • Module: HairStrandsCore

  • File: GroomAssetInterpolation.h

Editor Properties: (see get_editor_property/set_editor_property)

  • hair_to_guide_density (float): [Read-Write] Hair to Guide Density: Density factor for converting hair into guide curve if no guides are provided. The value should be between 0 and 1, and can be thought as a ratio/percentage of strands used as guides.

  • interpolation_distance (HairInterpolationWeight): [Read-Write] Interpolation Distance: Interpolation distance metric.

  • interpolation_quality (HairInterpolationQuality): [Read-Write] Interpolation Quality: Interpolation data quality.

  • override_guides (bool): [Read-Write] Override Guides: If checked, override imported guides with generated ones.

  • randomize_guide (bool): [Read-Write] Randomize Guide: Randomize which guides affect a given hair strand.

  • use_unique_guide (bool): [Read-Write] Use Unique Guide: Force a hair strand to be affected by a unique guide.

property hair_to_guide_density: float

[Read-Write] Hair to Guide Density: Density factor for converting hair into guide curve if no guides are provided. The value should be between 0 and 1, and can be thought as a ratio/percentage of strands used as guides.

Type:

(float)

property interpolation_distance: HairInterpolationWeight

[Read-Write] Interpolation Distance: Interpolation distance metric.

Type:

(HairInterpolationWeight)

property interpolation_quality: HairInterpolationQuality

[Read-Write] Interpolation Quality: Interpolation data quality.

Type:

(HairInterpolationQuality)

property override_guides: bool

[Read-Write] Override Guides: If checked, override imported guides with generated ones.

Type:

(bool)

property randomize_guide: bool

[Read-Write] Randomize Guide: Randomize which guides affect a given hair strand.

Type:

(bool)

property use_unique_guide: bool

[Read-Write] Use Unique Guide: Force a hair strand to be affected by a unique guide.

Type:

(bool)