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