Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomAssetPhysics.h |
| Include | #include "GroomAssetPhysics.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FHairCollisionConstraint
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | CollisionRadius | Radius that will be used for the collision detection against the physics asset | |
| FIntVector | GridDimension | Dimension of the grid used to compute the viscosity force | |
| float | KineticFriction | Kinetic friction used for collision against the physics asset | |
| bool | ProjectCollision | Enable ther projection of the collision constraint after the xpbd loop | |
| FRuntimeFloatCurve | RadiusScale | Radius scale along the strand | |
| bool | SolveCollision | Enable the solve of the collision constraint during the xpbd loop | |
| float | StaticFriction | Static friction used for collision against the physics asset | |
| float | StrandsViscosity | Viscosity parameter between 0 and 1 that will be used for self collision |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FHairCollisionConstraint& A |