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 (BlueprintType, HideCategories=(Object))
class UGroomBindingAsset :
public UObject ,
public IInterface_AsyncCompilation
Remarks
Implements an asset that can be used to store binding information between a groom and a skeletal mesh
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnGroomBindingAssetChanged | OnGroomBindingAssetChanged | IInterface_AsyncCompilation end |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Build () |
Build/rebuild a binding asset | |
| void | |||
| void | ChangeFeatureLevel
(
ERHIFeatureLevel::Type PendingFeatureLevel |
||
| void | ChangePlatformLevel
(
ERHIFeatureLevel::Type PendingFeatureLevel |
||
| uint32 | GetAssetHash () |
||
| FName | GetAssetPathName
(
int32 LODIndex |
Helper function to return the asset path name, optionally joined with the LOD index if LODIndex > -1. | |
| TArray< FHairGroupPlatformData > * | GetCachedCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
||
| FName | |||
| FName | |||
| TArray< FGoomBindingGroupInfo > & | |||
| FName | |||
| FName | |||
| const FHairGroupResources & | |||
| FHairGroupResources & | |||
| FName | |||
| TArray< FHairGroupPlatformData > & | |||
| const TArray< FHairGroupPlatformData > & | |||
| FName | |||
| FName | |||
| FOnGroomBindingAssetChanged & | |||
| FName | |||
| FName | |||
| FName | |||
| FName | |||
| bool | |||
| 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 UGroomAsset* InGroom, |
||
| bool | IsCompatible
(
const UGeometryCache* InGeometryCache, |
||
| bool | IsCompatible
(
const USkeletalMesh* InSkeletalMesh, |
||
| bool | IsCompiling () |
IInterface_AsyncCompilation begin | |
| bool | IsValid () |
Return true if the binding asset is valid, i.e., correctly built and loaded. | |
| void | |||
| void | ReleaseResource
(
bool bResetLoadedSize |
Release the hair strands resource. | |
| bool | |||
| void | Reset () |
||
| void | SetHairGroupResources
(
FHairGroupResources InHairGroupResources |
||
| void | StreamInForCPUAccess
(
bool bWait |
Stream in all of this binding's streamable resources and make them accessible from the CPU. | |
| void | Update resources. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Starts caching of platform specific data for the target platform Called when cooking before serialization so that object can prepare platform specific data Not called during normal loading of objects | |
| void | BeginDestroy () |
Called before destroying the object. | |
| void | Clear all cached cooked platform data | ||
| 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
(
bool bCleanupIsRequired |
||
| void | PostSaveRoot
(
FObjectPostSaveRootContext ObjectSaveContext |
Called from within SavePackage on the passed in base/root object. | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGS void | PreSave
(
const ITargetPlatform* TargetPlatform |
||
| PRAGMA_ENABLE_DEPRECATION_WARNINGS void | PreSave
(
FObjectPreSaveContext ObjectSaveContext |
Presave function. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCachedCookedPlatformData | |||
| FHairGroupPlatformData | Binding bulk data | ||
| FHairGroupResource | GPU and CPU binding data for both simulation and rendering. |
Typedefs
| Name | Description |
|---|---|
| FHairGroupResources | |
| FOnGroomBindingAssetChanged | Notification when anything changed |