Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/HairStrandsInterpolation.h |
| Include | #include "HairStrandsInterpolation.h" |
| Source | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Private/HairStrandsInterpolation.cpp |
enum EGroomViewModeuint8void ResetHairStrandsInterpolation
&40;
FRDGBuilder & GraphBuilder,
FGlobalShaderMap &42; ShaderMap,
FHairGroupInstance &42; Instance,
int32 LODIndex
&41;
Remarks
Reset the interpolation data. This needs to be called prior to ComputeHairStrandsInterpolation and prior to the actual hair simulation in order to insure that: 1) when hair simulation is enabled, the first frame is correct 2) when hair simulation is enabled/disabled (i.e., toggle/change) we reset to deform buffer to rest state)