FHairStrandsCore

Implements the HairStrands module

Windows
MacOS
Linux

Inheritance Hierarchy

IModuleInterface

FHairStrandsCore

References

Module

HairStrandsCore

Header

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

Include

#include "HairStrandsCore.h"

Syntax

class FHairStrandsCore : public IModuleInterface

Remarks

Implements the HairStrands module

Functions

Name Description

Public function Static

UGroomBindin...

 

CreateGroomBindingAsset

(
    EGroomBindingMeshType BindingType,
    UGroomAsset* GroomAsset,
    UObject* Source,
    UObject* Target,
    const int32 NumInterpolationPoints,
    const int32 MatchingSection
)

Create binding asset from groom asset and assets of specified groom binding type.

Public function Static

UStaticMesh ...

 

CreateStaticMesh

(
    const FString& InPackageName,
    const FString& Suffix
)

Public function Static

UTexture2D &...

 

CreateTexture

(
    const FString& PackgeName,
    const FIntPoint& Resolution,
    const FString& Suffix,
    TTextureAllocation TextureAllocatio...
)

Public function Static

void

 

RegisterAssetHelper

(
    const FHairAssetHelper& Helper
)

Public function Static

void

 

ResizeTexture

(
    UTexture2D* InTexture,
    const FIntPoint& Resolution,
    TTextureAllocation TextureAllocatio...
)

Public function Static

void

 

SaveAsset

(
    UObject* Object
)

Overridden from IModuleInterface

Name Description

Public function Virtual

void

 

ShutdownModule()

Called before the module is unloaded, right before the module object is destroyed.

Public function Virtual

void

 

StartupModule()

Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule.

Public function Virtual

bool

 

SupportsDynamicReloading()

Override this to set whether your module is allowed to be unloaded on the fly

Deprecated Functions

Name Description

Public function Static

UGroomBindin...

 

CreateGroomBindingAsset

(
    UGroomAsset* GroomAsset,
    USkeletalMesh* SourceSkelMesh,
    USkeletalMesh* TargetSkelMesh,
    const int32 NumInterpolationPoints,
    const int32 MatchingSection
)

CreateGroomBindingAsset with SkeletalMesh is deprecated. Use the version with binding type and UObject instead.

Public function Static

UGroomBindin...

 

CreateGroomBindingAsset

(
    const FString& InPackageName,
    UObject* InParent,
    UGroomAsset* GroomAsset,
    USkeletalMesh* SourceSkelMesh,
    USkeletalMesh* TargetSkelMesh,
    const int32 NumInterpolationPoints,
    const int32 MatchingSection
)

CreateGroomBindingAsset with SkeletalMesh is deprecated. Use the version with binding type and UObject instead.

Public function Static

UGroomBindin...

 

CreateGroomBindingAsset

(
    EGroomBindingMeshType BindingType,
    const FString& InPackageName,
    UObject* InParent,
    UGroomAsset* GroomAsset,
    UObject* Source,
    UObject* Target,
    const int32 NumInterpolationPoints,
    const int32 MatchingSection
)

CreateGroomBindingAsset with SkeletalMesh is deprecated. Use the version with binding type and UObject instead.

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