Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Hair strands points attribute
| Name | FHairStrandsPoints |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/HairStrandsDatas.h |
| Include Path | #include "HairStrandsDatas.h" |
Syntax
struct FHairStrandsPoints
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PointsAO | TArray< float > | Material per-vertex 'baked' AO (optional) | HairStrandsDatas.h | |
| PointsBaseColor | TArray< FLinearColor > | Material per-vertex 'baked' base color (optional) | HairStrandsDatas.h | |
| PointsCoordU | TArray< float > | Normalized length | HairStrandsDatas.h | |
| PointsMapping | TArray< uint32 > | Points source mapping | HairStrandsDatas.h | |
| PointsPosition | TArray< FVector3f > | Points position in local space | HairStrandsDatas.h | |
| PointsRadius | TArray< float > | Normalized radius relative to the max one | HairStrandsDatas.h | |
| PointsRoughness | TArray< float > | Material per-vertex 'baked' roughness (optional) | HairStrandsDatas.h | |
| SourcePointCount | uint32 | Source point count | HairStrandsDatas.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HasAttribute
(
EHairAttribute In |
HairStrandsDatas.h | ||
uint32 Num() |
Get the number of points | HairStrandsDatas.h | |
void Reset() |
Reset the points to 0 | HairStrandsDatas.h | |
void SetNum
(
const uint32 NumPoints, |
Set the number of points | HairStrandsDatas.h |