unreal.HairInterpolationSettings

class unreal.HairInterpolationSettings(override_guides=False, hair_to_guide_density=0.1, interpolation_quality=HairInterpolationQuality.HIGH, interpolation_distance=HairInterpolationWeight.PARAMETRIC, randomize_guide=False, use_unique_guide=False)

Bases: unreal.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] Density factor for converting hair into guide curve if no guides are provided.

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

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

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

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

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

property hair_to_guide_density

[Read-Write] Density factor for converting hair into guide curve if no guides are provided.

Type

(float)

property interpolation_distance

[Read-Write] Interpolation distance metric.

Type

(HairInterpolationWeight)

property interpolation_quality

[Read-Write] Interpolation data quality.

Type

(HairInterpolationQuality)

property override_guides

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

Type

(bool)

property randomize_guide

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

Type

(bool)

property use_unique_guide

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

Type

(bool)