Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Hair cards points interpolation attributes
| Name | FHairCardsInterpolationDatas |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/HairCardsDatas.h |
| Include Path | #include "HairCardsDatas.h" |
Syntax
struct FHairCardsInterpolationDatas
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PointsSimCurvesIndex | TArray< int32 > | Simulation curve indices | HairCardsDatas.h | |
| PointsSimCurvesVertexIndex | TArray< int32 > | Closest vertex indices on simulation curve | HairCardsDatas.h | |
| PointsSimCurvesVertexLerp | TArray< float > | Lerp value between the closest vertex indices and the next one | HairCardsDatas.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 Num() |
Get the number of interpolated points | HairCardsDatas.h | |
void Reset() |
Reset the interpolated points to 0 | HairCardsDatas.h | |
void SetNum
(
const uint32 NumPoints |
Set the number of interpolated points | HairCardsDatas.h |