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 (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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback