Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
| Name | FHairStretchConstraint |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomAssetPhysics.h |
| Include Path | #include "GroomAssetPhysics.h" |
Syntax
USTRUCT (BlueprintType )
struct FHairStretchConstraint
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHairStretchConstraint() |
GroomAssetPhysics.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ProjectStretch | bool | Enable the projection of the stretch constraint after the xpbd loop | GroomAssetPhysics.h |
|
| SolveStretch | bool | Enable the solve of the stretch constraint during the xpbd loop | GroomAssetPhysics.h |
|
| StretchDamping | float | Damping for the stretch constraint between 0 and 1 | GroomAssetPhysics.h |
|
| StretchScale | FRuntimeFloatCurve | Stretch scale along the strand | GroomAssetPhysics.h |
|
| StretchStiffness | float | Stiffness for the stretch constraint in GPa | GroomAssetPhysics.h |
|
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FHairStretchConstraint& A |
GroomAssetPhysics.h |