Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Hair strands points interpolation attributes
| Name | FHairStrandsInterpolationDatas |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/HairStrandsDatas.h |
| Include Path | #include "HairStrandsDatas.h" |
Syntax
struct FHairStrandsInterpolationDatas
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseUniqueGuide | bool | True, if interpolation data are built using a single guide | HairStrandsDatas.h | |
| CurveSimIndices | TArray< FIntVector2 > | Simulation curve indices, ordered by closest influence (per-curve data) | HairStrandsDatas.h | |
| CurveSimRootPointIndex | TArray< FIntVector2 > | (Global) Index of the root point of the curve | HairStrandsDatas.h | |
| CurveSimWeights | TArray< FVector2f > | Weight of simulation curve, ordered by closest influence (per-curve data) | HairStrandsDatas.h | |
| PointSimIndices | TArray< FIntVector2 > | Closest vertex (local, 0..255) indices on simulation curve, ordered by closest influence (per-point data) | HairStrandsDatas.h | |
| PointSimLerps | TArray< FVector2f > | Lerp value between the closest vertex indices and the next one, ordered by closest influence (per-point data) | HairStrandsDatas.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetCurveCount() |
HairStrandsDatas.h | ||
uint32 GetPointCount() |
Get the number of interpolated points | HairStrandsDatas.h | |
bool IsValid() |
HairStrandsDatas.h | ||
void Reset() |
Reset the interpolated points to 0 | HairStrandsDatas.h | |
void SetNum
(
const uint32 InCurveCount, |
Set the number of interpolated points | HairStrandsDatas.h |