Open 3D Engine AtomTressFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::Hair::HairAsset Class Referencefinal

#include <HairAsset.h>

Inherits AZ::Data::AssetData.

Public Member Functions

 AZ_RTTI (HairAsset, "{52842B73-8F75-4620-8231-31EBCC74DD85}", AZ::Data::AssetData)
 
 AZ_CLASS_ALLOCATOR (HairAsset, AZ::SystemAllocator)
 

Public Attributes

AZStd::unique_ptr< AMD::TressFXAssetm_tressFXAsset
 

Static Public Attributes

static constexpr const char * DisplayName = "HairAsset"
 
static constexpr const char * Extension = "tfxhair"
 
static constexpr const char * Group = "Hair"
 

Detailed Description

HairAsset is a simple AssetData wrapper around the TressFXAsset used by the AP. Is comprises of the hair vertices data file, the hair bone skinning information file and the collision data file. The plan is to separate the collision data as it can have the relation of 1:1, 1:N or N:1 meaning that the hair can have multiple collision handling (not only single mesh), and at the other end multiple hairs can have the same collision (hairdo and fur for example).


The documentation for this class was generated from the following file: