FHairCollisionConstraint

Windows
MacOS
Linux

References

Module

HairStrandsCore

Header

/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomAssetPhysics.h

Include

#include "GroomAssetPhysics.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FHairCollisionConstraint

Variables

Name Description

Public variable UProperty Category, EditAnywhere, Meta

float

 

CollisionRadius

Radius that will be used for the collision detection against the physics asset

Public variable UProperty Category, EditAnywhere, Meta

FIntVector

 

GridDimension

Dimension of the grid used to compute the viscosity force

Public variable UProperty Category, EditAnywhere, Meta

float

 

KineticFriction

Kinetic friction used for collision against the physics asset

Public variable UProperty Category, EditAnywhere, Meta

bool

 

ProjectCollision

Enable ther projection of the collision constraint after the xpbd loop

Public variable UProperty Category, EditAnywhere, Meta

FRuntimeFloatCu...

 

RadiusScale

Radius scale along the strand

Public variable UProperty Category, EditAnywhere, Meta

bool

 

SolveCollision

Enable the solve of the collision constraint during the xpbd loop

Public variable UProperty Category, EditAnywhere, Meta

float

 

StaticFriction

Static friction used for collision against the physics asset

Public variable UProperty Category, EditAnywhere, Meta

float

 

StrandsViscosity

Viscosity parameter between 0 and 1 that will be used for self collision

Constructors

Name Description

Public function

FHairCollisionConstraint()

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FHairCollisionConstraint& A
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss