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::HairComponentController Class Referencefinal

#include <HairComponentController.h>

Inherits HairRequestsBus::Handler, HairGlobalSettingsNotificationBus::Handler, AZ::Data::AssetBus::MultiHandler, AZ::TickBus::Handler, and EMotionFX::Integration::ActorComponentNotificationBus::Handler.

Public Member Functions

 AZ_TYPE_INFO (HairComponentController, "{81D3EA93-7EAC-44B7-B8CB-0B573DD8D634}")
 
 HairComponentController (const HairComponentConfig &config)
 
void Activate (EntityId entityId)
 
void Deactivate ()
 
void SetConfiguration (const HairComponentConfig &config)
 
const HairComponentConfigGetConfiguration () const
 
HairFeatureProcessorGetFeatureProcessor ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 

Friends

class EditorHairComponent
 

Detailed Description

This is the controller class for both EditorComponent and in game Component. It is responsible for the creation and activation of the hair object itself and the update and synchronization of any changed configuration. It also responsible to the connection with the entity's Actor to whom the hair is associated and gets the skinning matrices and visibility.


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