FHairStrandsPoints

Hair strands points attribute

Windows
MacOS
Linux

References

Module

HairStrandsCore

Header

/Engine/Plugins/Experimental/HairStrands/Source/HairStrandsCore/Public/HairStrandsDatas.h

Include

#include "HairStrandsDatas.h"

Syntax

struct FHairStrandsPoints

Remarks

Hair strands points attribute

Variables

Name Description

Public variable

TArray< FLinear...

 

PointsBaseColor

Material base color

Public variable

TArray< float >

 

PointsCoordU

Normalized length

Public variable

TArray< FVector...

 

PointsPosition

Points position in local space

Public variable

TArray< float >

 

PointsRadius

Normalized radius relative to the max one

Public variable

TArray< float >

 

PointsRoughness

Material roughness

Functions

Name Description

Public function Const

uint32

 

Num()

Get the number of points

Public function

void

 

Reset()

Reset the points to 0

Public function

void

 

Serialize

(
    FArchive& Ar
)

Serialize the points

Public function

void

 

SetNum

(
    const uint32 NumPoints
)

Set the number of points

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