Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
| Name | FGroomDataflowSettings |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomAssetDataflow.h |
| Include Path | #include "GroomAssetDataflow.h" |
Syntax
USTRUCT ()
struct FGroomDataflowSettings : public FDataflowInstance
Inheritance Hierarchy
- FDataflowInstance → FGroomDataflowSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GroomAssetDataflow.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MeshLODs | TArray< int32 > | LOD indices of the hair geometry used to transfer the skinning weights | GroomAssetDataflow.h | |
| PreviewAnimationAsset | TSoftObjectPtr< UAnimationAsset > | Optional animation asset used in the dataflow Editor preview scene | GroomAssetDataflow.h |
|
| PreviewBindingAsset | TSoftObjectPtr< UGroomBindingAsset > | Optional binding asset used in the dataflow Editor preview scene | GroomAssetDataflow.h |
|
| RestCollection | TSharedPtr< FManagedArrayCollection > | Rest collection used to store all the dataflow attributes | GroomAssetDataflow.h | |
| SkeletalMeshes | TArray< TObjectPtr< USkeletalMesh > > | Hair geometry that could describe external cards and meshes. | GroomAssetDataflow.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetMeshLOD
(
const int32 GroupIndex |
Return the mesh LOD used to transfer the skinning | GroomAssetDataflow.h | |
UAnimationAsset * GetPreviewAnimationAsset() |
Preview scene animation getter | GroomAssetDataflow.h | |
UGroomBindingAsset * GetPreviewBindingAsset() |
Preview scene binding asset setter | GroomAssetDataflow.h | |
const FManagedArrayCollection * GetRestCollection() |
Return the groom asset dataflow settings rest collection . | GroomAssetDataflow.h | |
USkeletalMesh * GetSkeletalMesh
(
const int32 GroupIndex |
Return the skeletal mesh associated to this groom asset if any. | GroomAssetDataflow.h | |
void InitSkeletalMeshes
(
const int32 NumGroups |
Init the skeletal mesh associated to this groom asset if any. | GroomAssetDataflow.h | |
bool Serialize
(
FArchive& Ar |
Custom serialization function for the ManagedArrayCollection | GroomAssetDataflow.h | |
void SetPreviewAnimationAsset
(
UAnimationAsset* AnimationAsset |
Preview scene animation setter | GroomAssetDataflow.h | |
void SetPreviewBindingAsset
(
UGroomBindingAsset* BindingAsset |
Preview scene binding asset setter | GroomAssetDataflow.h | |
void SetRestCollection
(
FManagedArrayCollection* InRestCollection |
Set the rest collection onto the groom asset dataflow settings | GroomAssetDataflow.h | |
void SetSkeletalMesh
(
const int32 GroupIndex, |
Set a group skeletal mesh and its associated LOD to this groom asset | GroomAssetDataflow.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetDataflowAssetMemberName() |
Return the Dataflow asset name. | GroomAssetDataflow.h | |
static FName GetDataflowTerminalMemberName() |
Return the Dataflow terminal name. | GroomAssetDataflow.h |