unreal.HairStretchConstraint
¶
- class unreal.HairStretchConstraint¶
Bases:
StructBase
Hair Stretch Constraint
C++ Source:
Plugin: HairStrands
Module: HairStrandsCore
File: GroomAssetPhysics.h
Editor Properties: (see get_editor_property/set_editor_property)
project_stretch
(bool): [Read-Write] Project Stretch: Enable ther projection of the stretch constraint after the xpbd loopsolve_stretch
(bool): [Read-Write] Solve Stretch: Enable the solve of the stretch constraint during the xpbd loopstretch_damping
(float): [Read-Write] Stretch Damping: Damping for the stretch constraint between 0 and 1stretch_scale
(RuntimeFloatCurve): [Read-Write] Stretch Scale: This curve determines how much the stretch stiffness will be scaled along each strand.The X axis range is [0,1], 0 mapping the root and 1 the tip
stretch_stiffness
(float): [Read-Write] Stretch Stiffness: Stiffness for the stretch constraint in GPa