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 FHairStrandsCurves
Remarks
Hair strands Curves attribute
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | AttributeFlags | Flags for attributes | |
| TArray< FIntVector > | ClumpIDs | Clump ID associated with each curve (optional) | |
| TArray< FIntVector > | CurvesClosestGuideIDs | Custom guide IDs (indexed with StrandID) (optional) | |
| TArray< FVector3f > | CurvesClosestGuideWeights | Custom guid weights (indexed with StrandID) (optional) | |
| TArray< uint16 > | CurvesCount | Number of points per rod | |
| TArray< float > | CurvesLength | Normalized length relative to the max one | |
| TArray< uint32 > | CurvesOffset | An offset represent the rod start in the point list | |
| TArray< FVector2f > | CurvesRootUV | Roots UV. Support UDIM coordinate up to 256x256 (optional) | |
| TMap< int, int > | GroomIDToIndex | Mapping of imported Groom ID to index | |
| TArray< int > | StrandIDs | Strand ID associated with each curve (optional) |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | HasAttribute
(
EHairAttribute In |
||
| bool | |||
| uint32 | Num () |
Get the number of Curves | |
| void | Reset () |
Reset the curves to 0 | |
| void | Set the number of Curves |