unreal.HairBendConstraint

class unreal.HairBendConstraint

Bases: StructBase

Hair Bend Constraint

C++ Source:

  • Plugin: HairStrands

  • Module: HairStrandsCore

  • File: GroomAssetPhysics.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bend_damping (float): [Read-Write] Bend Damping: Damping for the bend constraint between 0 and 1

  • bend_scale (RuntimeFloatCurve): [Read-Write] Bend Scale: This curve determines how much the bend stiffness will be scaled along each strand.

    The X axis range is [0,1], 0 mapping the root and 1 the tip

  • bend_stiffness (float): [Read-Write] Bend Stiffness: Stiffness for the bend constraint in GPa

  • project_bend (bool): [Read-Write] Project Bend: Enable ther projection of the bend constraint after the xpbd loop

  • solve_bend (bool): [Read-Write] Solve Bend: Enable the solve of the bend constraint during the xpbd loop