Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/Niagara/NiagaraDataInterfaceHairStrands.h |
Include |
#include "Niagara/NiagaraDataInterfaceHairStrands.h" |
struct FNDIHairStrandsData
Data stored per strand base instance
Name | Description | ||
---|---|---|---|
|
float |
AirDrag |
Coefficient between 0 and 1 to be used for the air drag |
|
AirVelocity |
Velocity of the surrounding air in cm/s |
|
|
float |
BendDamping |
Damping for the bend constraint between 0 and 1 |
|
float |
BendStiffness |
Stiffness for the bend constraint in GPa |
|
BindingType |
Binding type between the groom asset and the attached skeletal mesh |
|
|
BoneAngularAcceleration |
Bone Angular Acceleration |
|
|
BoneAngularVelocity |
Bone Angular Velocity |
|
|
BoneLinearAcceleration |
Bone Linear Acceleration |
|
|
BoneLinearVelocity |
Bone Linear Velocity |
|
|
BoneTransform |
Bone transform that will be used for local strands simulation |
|
|
float |
CollisionRadius |
Radius scale along the strand |
|
ForceReset |
Force reset simulation |
|
|
GlobalInterpolation |
Global Interpolation |
|
|
GravityVector |
Acceleration vector in cm/s2 to be used for the gravity |
|
|
GridDimension |
Grid Dimension used to compute the viscosity forces |
|
|
HairGroupInstance |
Hair group instance |
|
|
HairStrandsBuffer |
Strands Gpu buffer |
|
|
IterationCount |
Number of iterations for the constraint solver |
|
|
float |
KineticFriction |
Kinetic friction used for collision against the physics asset |
|
LocalSimulation |
Check if the simulation is running in local coordinate |
|
|
NumStrands |
Number of strands |
|
|
TStaticArray< f... |
ParamsScale |
Scales along the strand |
|
PreviousBoneAngularVelocity |
Bone Previous Angular Velocity |
|
|
PreviousBoneLinearVelocity |
Bone Previous Linear Velocity |
|
|
PreviousBoneTransform |
Bone transform that will be used for local strands simulation |
|
|
ProjectBend |
Enable the solve of the bend constraint during the xpbd loop |
|
|
ProjectCollision |
Enable ther projection of the collision constraint after the xpbd loop |
|
|
ProjectStretch |
Enable the projection of the stretch constraint after the xpbd loop |
|
|
SkeletalMeshes |
List of all the skel meshes in the hierarchy |
|
|
SolveBend |
Velocity of the surrounding air in cm/s |
|
|
SolveCollision |
Enable the solve of the collision constraint during the xpbd loop |
|
|
SolveStretch |
Enable the solve of the stretch constraint during the xpbd loop |
|
|
float |
StaticFriction |
Static friction used for collision against the physics asset |
|
float |
StrandsDensity |
Density of the strands in g/cm3 |
|
StrandsSize |
Strand size |
|
|
float |
StrandsSmoothing |
Smoothing between 0 and 1 of the incoming guides curves for better stability |
|
float |
StrandsThickness |
Strands thickness in cm that will be used for mass and inertia computation |
|
float |
StrandsViscosity |
Radius that will be used for the collision detection against the physics asset |
|
float |
StretchDamping |
Damping for the stretch constraint between 0 and 1 |
|
float |
StretchStiffness |
Stiffness for the stretch constraint in GPa |
|
SubSteps |
Number of substeps to be used |
|
|
TickCount |
Tick Count |
|
|
TickingGroup |
The instance ticking group |
|
|
WorldTransform |
Cached World transform. |
Name | Description | |
---|---|---|
|
FNDIHairStrandsData() |
Name | Description | ||
---|---|---|---|
|
CopyDatas ( |
||
|
Init ( |
Initialize the buffers |
|
|
Release() |
Release the buffers |
|
|
ResetDatas() |
||
|
Update ( |
Update the buffers |