FHairStrandsRootData

Source/CPU data for root resources (GPU resources are stored into FHairStrandsRootResources)

Windows
MacOS
Linux

References

Module

HairStrandsCore

Header

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

Include

#include "HairStrandsDatas.h"

Syntax

struct FHairStrandsRootData

Remarks

Source/CPU data for root resources (GPU resources are stored into FHairStrandsRootResources)

Variables

Name Description

Public variable

TArray< FMeshPr...

 

MeshProjectionLODs

Store the hair projection information for each mesh LOD

Public variable

uint32

 

RootCount

Number of roots

Public variable

TArray< FHairSt...

 

RootNormalBuffer

Curve root's normal orientation

Public variable

TArray< FHairSt...

 

RootPositionBuffer

Curve root's positions

Public variable

TArray< FHairSt...

 

VertexToCurveIndexBuffer

Curve index for every vertices

Constructors

Name Description

Public function

FHairStrandsRootData()

Build the hair strands resource

Public function

FHairStrandsRootData

(
    const FHairStrandsDatas* HairS...,
    uint32 LODCount,
    const TArray< uint32 >& NumSamples
)

Functions

Name Description

Public function Const

bool

 

HasProjectionData()

Public function Const

bool

 

IsValid()

Public function

void

 

Reset()

Public function

void

 

Serialize

(
    FArchive& Ar
)

Classes

Name

Description

Public struct

FMeshProjectionLOD

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