Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
| Name | FPointsSampler |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomBindingBuilder.h |
| Include Path | #include "GroomBindingBuilder.h" |
Syntax
struct FPointsSampler
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPointsSampler
(
TArray< bool >& ValidPoints, |
GroomBindingBuilder.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SampleIndices | TArray< uint32 > | List of sampled points | GroomBindingBuilder.h | |
| SamplePositions | TArray< FVector3f > | List of sampled positions | GroomBindingBuilder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildPositions
(
const FVector3f* PointPositions |
Build the sample position from the sample indices | GroomBindingBuilder.h | |
| Compute the furthest point | GroomBindingBuilder.h | ||
int32 StartingPoint
(
const TArray< bool >& ValidPoints, |
Compute the starting point | GroomBindingBuilder.h |