Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGroomBindingAsset
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomBindingAsset.h |
| Include | #include "GroomBindingAsset.h" |
Syntax
UCLASS&40;BlueprintType, HideCategories&61;&40;Object&41;&41;
class UGroomBindingAsset : public UObject
Remarks
Implements an asset that can be used to store binding information between a groom and a skeletal mesh
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsValid | ||
| bool | bRegisterGroomAssetCallback | ||
| bool | bRegisterSourceMeshCallback | ||
| bool | bRegisterTargetMeshCallback | ||
| TArray< FString > | CachedDerivedDataKey | ||
| FOnGroomBindingAssetChanged | OnGroomBindingAssetChanged | Private : | |
| EQueryStatus | QueryStatus |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Build () |
Build/rebuild a binding asset | |
| void | |||
| void | CacheDerivedDatas
(
uint32 InGroupIndex, |
||
| FName | GetAssetPathName
(
int32 LODIndex |
Helper function to return the asset path name, optionally joined with the LOD index if LODIndex > -1. | |
| FName | |||
| FName | |||
| TArray< FGoomBindingGroupInfo > & | |||
| FName | |||
| FName | |||
| const FHairGroupResources & | |||
| FHairGroupResources & | |||
| FName | |||
| const TArray< FHairGroupPlatformData > & | |||
| TArray< FHairGroupPlatformData > & | |||
| FName | |||
| FName | |||
| FOnGroomBindingAssetChanged & | |||
| FName | |||
| FName | |||
| FName | |||
| FName | |||
| bool | Returns true if the target is not null and matches the binding type | ||
| void | InitResource () |
Initialize resources. | |
| void | |||
| void | |||
| bool | IsBindingAssetValid
(
const UGroomBindingAsset* InBinding, |
||
| bool | IsCompatible
(
const UGeometryCache* InGeometryCache, |
||
| bool | IsCompatible
(
const USkeletalMesh* InSkeletalMesh, |
||
| bool | IsCompatible
(
const UGroomAsset* InGroom, |
||
| bool | IsValid () |
Return true if the binding asset is valid, i.e., correctly built and loaded. | |
| void | Release the hair strands resource. | ||
| bool | |||
| void | Reset () |
||
| void | SetHairGroupResources
(
FHairGroupResources InHairGroupResources |
||
| void | Update resources. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Part of UObject interface | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PostSaveRoot
(
FObjectPostSaveRootContext ObjectSaveContext |
Called from within SavePackage on the passed in base/root object. | |
| void | PreSave
(
FObjectPreSaveContext SaveContext |
Presave function. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FHairGroupPlatformData | Binding bulk data | ||
| FHairGroupResource | GPU and CPU binding data for both simulation and rendering. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EQueryStatus |
Typedefs
| Name | Description |
|---|---|
| FHairGroupResources | |
| FOnGroomBindingAssetChanged | Notification when anything changed |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | PostSaveRoot
(
bool bCleanupIsRequired |
Use version that takes FObjectPostSaveRootContext instead. | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGSvoid | PreSave
(
const ITargetPlatform* TargetPlatform |
Use version that takes FObjectPreSaveContext instead. |