FHairStrandsCurves

Hair strands Curves attribute

Windows
MacOS
Linux

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

Name Description

Public variable

TArray< uint16 ...

 

CurvesCount

Number of points per rod

Public variable

TArray< float >

 

CurvesLength

Normalized length relative to the max one

Public variable

TArray< uint32 ...

 

CurvesOffset

An offset represent the rod start in the point list

Public variable

TArray< FVector...

 

CurvesRootUV

Roots UV. Support UDIM coordinate up to 256x256

Public variable

TMap< int, int ...

 

GroomIDToIndex

Mapping of imported Groom ID to index

Public variable

float

 

MaxLength

Max strands Curves length

Public variable

float

 

MaxRadius

Max strands Curves radius

Public variable

TArray< int >

 

StrandIDs

Strand ID associated with each curve

Functions

Name Description

Public function Const

uint32

 

Num()

Get the number of Curves

Public function

void

 

Reset()

Reset the curves to 0

Public function

void

 

Serialize

(
    FArchive& Ar
)

Serialize the curves

Public function

void

 

SetNum

(
    const uint32 NumPoints
)

Set the number of Curves

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss