UGroomBindingAsset

Implements an asset that can be used to store binding information between a groom and a skeletal mesh

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

HairStrandsCore

Header

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

Include

#include "GroomAsset.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, HideCategories=(Object))
class UGroomBindingAsset : public UObject

Remarks

Implements an asset that can be used to store binding information between a groom and a skeletal mesh

Variables

Name Description

Public variable UProperty Category, Meta BlueprintReadWrite visibleanywhere

UGroomAsset ...

 

Groom

Groom to bind.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite editfixedsize

TArray< FGoomBi...

 

GroupInfos

Public variable

FHairGroupDatas

 

HairGroupDatas

Public variable

FHairGroupResou...

 

HairGroupResources

Public variable

TQueue< FHairGr...

 

HairGroupResourcesToDelete

Queue of resources which needs to be deleted.

Public variable UProperty Category, Meta BlueprintReadWrite visibleanywhere

int32

 

NumInterpolationPoints

Number of points to be used for radial basis function interpolation

Public variable

FOnGroomBinding...

 

OnGroomBindingAssetChanged

Private :

Public variable

EQueryStatus

 

QueryStatus

Public variable UProperty Category, Meta BlueprintReadWrite visibleanywhere

USkeletalMesh &...

 

SourceSkeletalMesh

Skeletal mesh on which the groom has been authored.

Public variable UProperty Category, Meta BlueprintReadWrite visibleanywhere

USkeletalMesh &...

 

TargetSkeletalMesh

Skeletal mesh on which the groom is attached to.

Functions

Name Description

Public function

FOnGroomBind...

 

GetOnGroomBindingAssetChanged()

Public function

void

 

InitResource()

Initialize resources.

Public function Static

bool

 

IsBindingAssetValid

(
    const UGroomBindingAsset* InBi...,
    bool bIsBindingReloading
)

Public function Static

bool

 

IsCompatible

(
    const USkeletalMesh* InSkeleta...,
    const UGroomBindingAsset* InBi...
)

Public function Static

bool

 

IsCompatible

(
    const UGroomAsset* InGroom,
    const UGroomBindingAsset* InBi...
)

Public function

void

 

ReleaseResource()

Release the hair strands resource.

Public function

void

 

Reset()

Public function

void

 

UpdateResource()

Update resources.

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Part of UObject interface

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

PostSaveRoot

(
    bool bCleanupIsRequired
)

Called from within SavePackage on the passed in base/root object.

Public function Virtual

void

 

PreSave

(
    const ITargetPlatform* TargetP...
)

Presave function.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Classes

Name

Description

Public struct

FHairGroupData

Public struct

FHairGroupResource

GPU and CPU binding data for both simulation and rendering.

Enums

Name

Description

Public enum

EQueryStatus

Typedefs

Name

Description

FHairGroupDatas

FHairGroupResources

FOnGroomBindingAssetChanged

Notification when anything changed

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