#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::TressFXAsset > | m_tressFXAsset |
Static Public Attributes | |
static constexpr const char * | DisplayName = "HairAsset" |
static constexpr const char * | Extension = "tfxhair" |
static constexpr const char * | Group = "Hair" |
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).