unreal.HairDeformationSettings

class unreal.HairDeformationSettings(enable_rigging: bool = False, num_curves: int = 0, num_points: int = 0)

Bases: StructBase

Hair Deformation Settings

C++ Source:

  • Plugin: HairStrands

  • Module: HairStrandsCore

  • File: GroomAssetInterpolation.h

Editor Properties: (see get_editor_property/set_editor_property)

  • can_edit_rigging (bool): [Read-Only]

  • enable_rigging (bool): [Read-Write] Enable the generation of a skeletal mesh that will drive the guides deformation. The total number of bones per group is for now 256 (NumCurves * NumPoints)

  • num_curves (int32): [Read-Write] Number of guides that will be generated on the groom and the skeletal mesh

  • num_points (int32): [Read-Write] Number of points/bones per generated guide

property b_enable_deformation: bool

‘b_enable_deformation’ was renamed to ‘enable_rigging’.

Type:

deprecated

property enable_rigging: bool

[Read-Write] Enable the generation of a skeletal mesh that will drive the guides deformation. The total number of bones per group is for now 256 (NumCurves * NumPoints)

Type:

(bool)

property num_curves: int

[Read-Write] Number of guides that will be generated on the groom and the skeletal mesh

Type:

(int32)

property num_points: int

[Read-Write] Number of points/bones per generated guide

Type:

(int32)