Navigation
Unreal Engine C++ API Reference > Plugins > HairStrandsCore > FHairStrandsRootData
References
Module | HairStrandsCore |
Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/HairStrandsDatas.h |
Include | #include "HairStrandsDatas.h" |
Syntax
struct FMeshProjectionLOD
Variables
Type | Name | Description | ||
---|---|---|---|---|
![]() |
int32 | LODIndex | ||
![]() |
TArray< FHairStrandsWeightFormat::Type > | MeshInterpolationWeightsBuffer | Store the hair interpolation weights | Size = SamplesCount * SamplesCount |
![]() |
TArray< FHairStrandsIndexFormat::Type > | MeshSampleIndicesBuffer | Store the samples vertex indices | |
![]() |
TArray< FHairStrandsMeshTrianglePositionFormat::Type > | RestSamplePositionsBuffer | Store the samples rest positions | |
![]() |
TArray< FHairStrandsMeshTrianglePositionFormat::Type > | RestUniqueTrianglePositionBuffer | ||
![]() |
TArray< FHairStrandsRootBarycentricFormat::Type > | RootBarycentricBuffer | ||
![]() |
TArray< FHairStrandsRootToUniqueTriangleIndexFormat::Type > | RootToUniqueTriangleIndexBuffer | Triangle on which a root is attached When the projection is done with source to target mesh transfer, the projection indices does not match. | |
![]() |
uint32 | SampleCount | Number of samples used for the mesh interpolation | |
![]() |
TArray< uint32 > | UniqueSectionIds | Store the mesh section indices which are relevant for this root LOD data | |
![]() |
TArray< FHairStrandsUniqueTriangleIndexFormat::Type > | UniqueTriangleIndexBuffer | Strand hair roots translation and rotation in rest position relative to the bound triangle. |